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
I'm using the beta of 2.1 and cannot figure out how to use the XPath Expression so that only child nodes are selectable.
Any hints?
Hi Nikolas
If you just want to select the childnodes from the current page try this:
$currentPage/*[@isDoc]
/Kim A
Hi Kim,
Thanks for your tip! When selecting XPath type "From Current" and then use the following expression:
*[@isDoc]
I only get the first child element and all its child nodes. I need all of them! ;) If I use Global as XPath type and use the following expression:
It relates to the top node.
Nik
PS. This subject is regarding the use of uComponents and not regarding the general use of XSLT! ;)
You can just use From Currrent (not global) and just don't prefix your XPath statement with a forward slash.
This is just like normal XPath, if you are selecting anything from the current node, you don't include a forward slash.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
XPath Expression example
I'm using the beta of 2.1 and cannot figure out how to use the XPath Expression so that only child nodes are selectable.
Any hints?
Hi Nikolas
If you just want to select the childnodes from the current page try this:
/Kim A
Hi Kim,
Thanks for your tip! When selecting XPath type "From Current" and then use the following expression:
I only get the first child element and all its child nodes. I need all of them! ;) If I use Global as XPath type and use the following expression:
It relates to the top node.
Nik
PS. This subject is regarding the use of uComponents and not regarding the general use of XSLT! ;)
You can just use From Currrent (not global) and just don't prefix your XPath statement with a forward slash.
This is just like normal XPath, if you are selecting anything from the current node, you don't include a forward slash.
is working on a reply...