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

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


Subject: Re: [xsl] Namespace de-duplication for dynamically generated elements
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 9 Sep 2008 11:21:53 +0200 (CEST)

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


Current Thread