[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] [XSL] copying namesapces with prefix "xmlns:".


Subject: Re: [xsl] [XSL] copying namesapces with prefix "xmlns:".
From: siva <siva@xxxxxxx>
Date: Fri, 26 Aug 2005 13:20:16 +0530

I suggest you may hardcode creation of namespace nodes in the stylesheet

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="/Package">
<definitions Id="typeoperation" xmlns:any="http://any/"> <!-- some instructions -->
</definitions>
</xsl:template>

</xsl:stylesheet>


Since the namespace is dynamic from the input.xml, hardcoding will not help me ...

Regards,
Siva


Current Thread