[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPATH forumulation problem
Hello, I have the following XML 1) and 2) below. My problem is, how to I write an Xpath that selects all <aspects> in 2), that has ALL of the <aspect> in the <aspects> tag in 1), but which might also have additional <aspect>? I cannot konw in advance how many <aspect> there will be. Maybe it's easy but I haven't been able to figure it out... Best regards Hans 1) <xml> <aspects> <aspect>blog post</aspect> <aspect>january</aspect> .... ( any number of additional aspect) ... <aspect>cars</aspect> </aspects> </xml> 2) <xml> <aspects> <aspect>blog post</aspect> <aspect>january</aspect> .... ( any number of additional aspect) ... <aspect>cars</aspect> </aspects> <aspects> ... </aspects> <aspects> ... </aspects> <aspects> ... </aspects> ... </xml>
|
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
|