preceding-sibling including previous node
xslt 1.0 xpath 1.0 <xsl:template mact="animals[preceding-sibling::animals[contains(.'pig')]]"> With the above how would you: Select all preceding-siblings where node text contains pig including the line that contains pig. Is there something you can do with position?
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