The current xml-copy implementation will not copy
attributes or text nodes if requested to do so. As a
result, the xml-copy identity transformation fails.
That transformation (from
http://www.w3.org/TR/xslt#copying) is:
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
When used in the Google library, it strips attributes
and text nodes. This is not to spec.
Thanks for a very useful library!
-devonc@review.com
Nobody/Anonymous ( nobody ) - 2006-03-27 17:25
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2006-12-15 22:01
|
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use