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

AW: use preceding element or self

Subject: AW: use preceding element or self
From: "Klocker Christoph" <Christoph.Klocker@xxxxxxxxxxxxx>
Date: Fri, 29 Apr 2005 13:44:43 +0200
saxon8.4 while example
The expression:

(preceding::par[@class='Komm_H3'])[text()[1][normalize-space()]][not(con
tains(text()[1],','))[1]][last()]

gave me different results while transforming with saxon8.2 and evaluating with
xmlspy xpath2.0 evaluator. Meanwhile I changed to saxon8.4 and they deliver
the same result.

When transforming my sample file (see last email), it still gives me two
different results, (same with xmlspy xpath evaluator), once the expression
selects the string (UMSATZSTEUER) and the other time whole node. On my real
xmls strangely it always selects the whole node, instead of the required
string.

Couldn't figure it out why??

Christoph




-----Urspr|ngliche Nachricht-----
Von: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Gesendet: Freitag, 29. April 2005 13:20
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: RE:  use preceding element or self

> > Seems to be a Saxon issue.

I haven't been following this thread as DC seemed to have it under control.
If you think you've got a Saxon issue, please could you explain it from
first principles so I don't have to follow the thread back. Thanks.

Michael Kay
http://www.saxonica.com/

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.