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

Subject: RE: [xsl] Matching the first text element in a subtree
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 19 Apr 2006 08:20:20 +0100
> 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/

Current Thread