[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Selecting first descendant text node
Subject: RE: [xsl] Selecting first descendant text node From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx> Date: Sat, 12 Jan 2002 15:39:37 +0200 |
> >(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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Selecting first descendan, Christian Roth | Thread | RE: [xsl] Selecting first descendan, Michael Kay |
[xsl] Function arguments (was regex, David Carlisle | Date | [xsl] xalan error with plain text, Michael Engelhart |
Month |