Subject: [xsl] Saxon-EE 9.4.0.6 can't adress comment nodes From: bjoern.duenckel@xxxxxxxxxxxxxxxxxxx Date: Tue, 09 Apr 2013 17:44:16 +0200 |
Source ----------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <r> <!-- This is a comment. --> </r> -----------------------------------------------
Stylesheet ----------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="text"/> <xsl:template match="/"> <xsl:value-of select="count(//comment())"/> </xsl:template> </xsl:stylesheet> -----------------------------------------------
Output with Saxon-EE 9.4.0.6 ----------------------------------------------- 0 -----------------------------------------------
Output with Saxon-PE 9.4.0.6 (and any other Transformer I tried) ----------------------------------------------- 1 -----------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Priorities of unionised p, Ihe Onwuka | Thread | Re: [xsl] Saxon-EE 9.4.0.6 can't ad, Michael Kay |
Re: [xsl] Priorities of unionised p, Ihe Onwuka | Date | Re: [xsl] Saxon-EE 9.4.0.6 can't ad, Michael Kay |
Month |