Hi,
I am parsing an XML from a remote MOSS machine.
They (among other stuff) provide me a link in the XML. The field link on their XML looks like that:
http://www.example.com, Example website (i.e, the field is the url and the title)
I want to save it on my link field (cck field) as a url (or better as url & title) yet it won't save the field.
Any thoughts on how I can do it?

Thanks,
S.

Comments

twistor’s picture

Assigned: Unassigned » twistor
Status: Active » Fixed

In the dev release xpath string functions are now supported. So you could tdo
substring-before(link/text(), ', ')
and
substring-after(link/text(), ', ').

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.