[xslt] <copy-of> problems
- From: Stephen Knox <stephenknox73 gmail com>
- To: xslt gnome org
- Subject: [xslt] <copy-of> problems
- Date: Tue, 12 Nov 2013 12:26:27 +0000
I have an issue with the XLST library and <copy-of>
I have distilled my problem into a simple test.
Using the following xml file:
<?xml version="1.0" encoding="UTF-8"?>
<language/>
<characterSet/>
</MD_Metadata>
and this stylesheet:
<xsl:stylesheet version="1.0"
<xsl:template match="/gmd:MD_Metadata">
<xsl:copy-of select="@*|node()"/>
</xsl:template>
</xsl:stylesheet>
If I run xsltproc I get the result:
I assume this isn't a bug, but can anyone explain to someone who is quite green at this what is going on here?
Thanks
Stephen
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]