xsl-list
[Top] [All Lists]

Re: [xsl] Namespace de-duplication for dynamically generated elements

2008-09-09 05:22:23
Florent Georges wrote:

  Typos...

  Then what you describe doesn't match the output you
showed.  You should have got (without prefixes):

    <zip> apple </zip>
    <zap> orange </zap>

  Should be:

    <zip xmlns="urn:ex"> apple </zip>
    <zap xmlns="urn:ex"> orange </zap>

<xsl:stylesheet [...]

   <xsl:template match="order">
      <output>
         <xsl:copy-of select="namespace::*"/>

           <xsl:sequence select="fg:copy-namespaces(.)"/>

  Regards,

--drkm























      

--~------------------------------------------------------------------
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>
--~--