RE: [xslt2] typo in example, Saxon

> 
> 1. typo
> 
> http://www.w3.org/TR/xslt20/#regular-expressions
> ###
> <xsl:analyze-string select="abstract" regex="\n">
>    <xsl:non-matching-substring>
>      <xsl:value-of select="."/>
>    </xsl:non-matching-substring>
>    <xsl:matching-substring>
>      <br/>
>    </xsl:matching-substring>
> </xsl:for-each>
> ###
> 
> The last line should be
> 
>    </xsl:analyze-string>
> 
> AFAICS.

Thanks, now fixed.
> 
> 2. Saxon
> 
> Should the examples in
>    http://www.w3.org/TR/xslt20/#regular-expressions
> run in the latest Saxon?
> 

Yes (though I haven't tested them specifically).

Michael Kay

Received on Tuesday, 31 December 2002 06:41:22 UTC