i have the following xml data:

<item>
  <url>http://www.drupal.org/?node=3</url>
</item>

i want to extract the querysting part of the url to a field with xpath function substring_after but can't figure out how this works

context: item
field value: url[substring_after(.,'?')] #not working
field value: substring_after(url,'?') #not working
field value: substring_After(/*/url,'?') #also not working

is there something wrong in my syntax or are xpath functions not supported by the module?

Comments

ronajon’s picture

Status: Active » Closed (fixed)

just tested with 7.x-1.x-dev version and can confirm it works in dev version.
issue can be closed

jmattturn’s picture

What was the correct syntax for the above example once you go it working in the 7.x-1.x-dev version?