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

RE: MSXML ancestor-or-self

Subject: RE: MSXML ancestor-or-self
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 7 Mar 2001 13:08:34 -0800 (PST)
msxml bug ancestor or self
Hi Mike,

> the only problem is removing duplicates. Which isn't easy in this case: I
> think it might need a recursive-template solution.

I just posted a single XPath expression. Do you thing it's wrong? The only thing is that I used
"//C" there -- in a more general case this must be "current()"


Another question: Have you really changed ICL for SAG???

Cheers,
Dimitre.

Michael Kay wrote:

> > You can't use ancestor-or-self in this case because of the
> > structure of your xml.
> 
> He was using ancestor-or-self::*/p which I think selects the correct nodes;
> the only problem is removing duplicates. Which isn't easy in this case: I
> think it might need a recursive-template solution.
> 
> (There was also a question about the ordering of the axis. The answer is
> that the axis is in reverse document order, but the result of the expression
> is an unordered set, and the xsl:fro-each processes the set in document
> order (by default). You can get reverse document order by <xsl:sort
> select="position()" data-type="number" order="descending"/>)
> 
> Mike Kay
> Software AG

>





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

 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.