Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Alec
Came across this package. I have to say its very usefull, thank you for contributing!
I have one issue, when i use a XPATH to get multiple elements from an external URL, it only returns the first element.
If I use Chrome XPATH extension, with the same XPATH, it returns all the items that match the criteria.
For example:
<umbraco:Macro xpathQuery="//td[contains(@class, 'cHidden')]" URL="..."
Alias="Html2xml_withxpquery" runat="server"></umbraco:Macro>
where the URL contains lots of TD tags with class set to cHidden.
The macro returns only the first matching TD tag.
Is there any solution to this? Would be greatly appreciated.
Also is it using XPATH version 1 or 2?
many thanks in advance!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
XPATH selector only returns a single element
Hi Alec
Came across this package. I have to say its very usefull, thank you for contributing!
I have one issue, when i use a XPATH to get multiple elements from an external URL, it only returns the first element.
If I use Chrome XPATH extension, with the same XPATH, it returns all the items that match the criteria.
For example:
<umbraco:Macro xpathQuery="//td[contains(@class, 'cHidden')]" URL="..."
Alias="Html2xml_withxpquery" runat="server"></umbraco:Macro>
where the URL contains lots of TD tags with class set to cHidden.
The macro returns only the first matching TD tag.
Is there any solution to this? Would be greatly appreciated.
Also is it using XPATH version 1 or 2?
many thanks in advance!
is working on a reply...