xsl-list
[Top] [All Lists]

RE: [xsl] Matching the first text element in a subtree

2006-04-19 00:20:35
Try
   <xsl:template match="(div0[2]/p[1]//text())[1]">
note the additional parenthesis 

No, don't. Parentheses aren't allowed in a pattern.

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--