Click to See Complete Forum and Search --> : Howto preserve all elements in a transform


BigArseBear
November 22nd, 2000, 01:56 PM
i am transforming an xml document using xsl (not xslt), I wish to preserve all elements in the xsl document, not just html tags as is occuring. The problem is that something like this:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40"
xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<x:Pane>
<x:Number>3</x:Number>
<x:ActiveRow>4</x:ActiveRow>
<x:ActiveCol>4</x:ActiveCol>
</x:Pane>
<html>
</html>
</xsl:template>
</xsl:stylesheet>



produces the output:


<html/>




which is no good, i dont want a straight html document, i want all my other tags (the ones in the "x" namespace, as well as any other nodes. Is there a way to preserve _everything_ in the xsl document (bar the <xsl:*/> elements?