Closed (fixed)
Project:
Feeds XPath Parser
Version:
6.x-1.11
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2011 at 16:19 UTC
Updated:
23 Mar 2012 at 05:16 UTC
Xpath query
tag/@attribute
returns text as, e.g.,
attribute = "xyz"
Based on quick research, folks online are using the function:
string(tag/@attribute)
to capture just the text
"xyz"
I have tried and within Xpath parser, this function does not seem to work. Is there any way to solve this issue or an alternative way to capture just the attribute value ?
Thx
Comments
Comment #1
sbydrupal commentedJust checked, string function is working in 6.x-1.x-dev version.
Comment #2
thedavidmeister commentedalso, this works fine without the string() function but you have to turn off debug mode. See the first comment of http://drupal.org/node/1045026
Comment #3
Dimm commentedProject: Feeds XPath Parser
Version: 7.x-1.x-dev
XPath HTML parser:
a/@href - error:500.
string(a/@href) - is OK.