[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting the first preceding-sibling with a specifi
preceding-sibling::x[title][1] This will select the first x element (counting backwards) that has a title. (so will return at most 1 node) preceding-sibling::x/title[1] This will select the first title element of each of the selected x elements so will return any number of nodes. (preceding-sibling::x/title)[1] This will select the first title elemnt (in document order) that is a child of the preceding sibling x elements (so will return at most 1 node)
|
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
|