[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Selecting first descendant text node
> >(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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|