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

Re: Selecting Nodes by nodeset comparison

Subject: Re: Selecting Nodes by nodeset comparison
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Apr 2005 12:52:37 +0100
Re:  Selecting Nodes by nodeset comparison
> Is the following Xpath correct?

without seeing the input documents or a description of what you are
trying to match, how are we to say?

You would be better to post a complete but simplified example with just
two or three attributes, and three or four elements in each document
so that you can post  the entire thing and say what output you want, and
what output you got.

Guessing from the structure of your xpaths I assume that the files have
a single top level EintrdgeListe element and more than one child Eintrag

the test
tests if the Datum attribute in this Eintrag element is equal to _any_ 
BZ_Abgangsdatum attribute in the other element. I can't say if that's
correct or not as I don't know what you intend.


Is almost certainly incorrect as it tests if the first part of the @Zeit
attribute is equal to the first part of the first @BZ_Zeit attribute in
the other document. (It only tests the first @BZ_Zeit in document order
as substring() requires a string as its first argument and in common
with other string functions converts a node set to a string by taking
the string value of the first node and ignoring all others.


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread


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.
First Name
Last Name
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.