xsl-list
[Top] [All Lists]

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

2005-08-26 00:50:16

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--