[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPATH: get not repeated nodes
> I know it, I saw it after sending the question, but it does not work either. The xpath you posted (with or without the @) is legal xpath so if it "doesn't work" then it means that either this xpath is not spcifying what you think it is specifying, or that your input file is not of the form that you expect. But since you haven't said what the input file looks like, or what output you expect, or what output you got, it's impossible to do anything other than make blind guesses. I'll note that in //V14[cod='1CA8ADH7P5..A0']/V16/VEH[not(@tap=preceding::VEH/@tap)] you are checking _all_ preceding VEH/@tap attributes, not just those contained within the specified V14 elements. that may or may not be what you want to do. This sounds like a grouping problem (based on the subject line) so you may want to check the faq and jeni's site for grouping hints. David -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|