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

RE: Selecting first descendant text node

Subject: RE: Selecting first descendant text node
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 15:39:37 +0200
xpath first descendant
> >(item//text())[1] should do that.
> 
> Probably the expression is correct for XPath, but my XSLT processor (as
> mentioned, Xalan 2.1.0) reports an parse/expression error if I put this
> into the match attribute. Is this a bug of that processor?
That is perfectly correct XPath expression, but what you do need for matching is a pattern (http://www.w3.org/TR/xslt#NT-Pattern), which is not exactly the same as xpath expression.
"Every pattern is a valid XPath expression, but not every Xpath expression is a valid pattern" (c)M.Kay.

---
Oleg Tkachenko,
Multiconn International, Israel 


 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.