|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Node Position & Relationship!
I wrote: > To test if a node has siblings: > > <xsl:if test="preceding-sibling::tree or following-sibling::tree"> > > Or: > > <xsl:if test="../tree"> Of course the second one will always be true if the current node is a <tree> node... It would need to be modified to: <xsl:if test="../tree[generate-id(.) != generate-id(current())]"> to ensure the the current <tree> node doesn't get included in the selection.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








