[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPATH: get not repeated nodes

Subject: Re: XPATH: get not repeated nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 25 Feb 2004 15:16:19 GMT
xpath get nodes .net

> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.