Hello
I’m using the XML module, Perform XPath Query to fetch the value of an attribute. It works but the module does not only return the value but also the attributename… Is this a bug?
Example XML:
...
<tr>
<td>
<a href="/en/list/example1">EXAMPLE1</a>
</td>
<td>
<a href="/en/list/example2">EXAMPLE2</a>
</td>
</tr>
...
XPath Query:
//tr/td[1]/a/@href
Result in Make:
href="/en/list/example1"
where only /en/list/example1
is expected.
Thanks for your feedback!