-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
java_xml_pack
-
generic
-
windows_xp
Given the following XML document:
<b>transform one text</b>
And the following XSLT stylesheet:
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template match="text()">
<a><xsl:value-of select="."/></a>
</xsl:template>
</xsl:stylesheet>
The transformation yields a DOMResult with no nodes at all.
Shouldn't a text element be in the DOMResult?
Agree this won't be a valid XML document, but still, one
would expect the text element 'transform one text' to
be included in the DOMResult.
###@###.### 2004-01-14
###@###.### 2004-01-15
<b>transform one text</b>
And the following XSLT stylesheet:
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template match="text()">
<a><xsl:value-of select="."/></a>
</xsl:template>
</xsl:stylesheet>
The transformation yields a DOMResult with no nodes at all.
Shouldn't a text element be in the DOMResult?
Agree this won't be a valid XML document, but still, one
would expect the text element 'transform one text' to
be included in the DOMResult.
###@###.### 2004-01-14
###@###.### 2004-01-15