RE: [xsl] namespace declaration when generating a stylesheet

Subject: RE: [xsl] namespace declaration when generating a stylesheet
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 27 Jul 2001 12:15:32 +0200
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Seaborne,
> Mark
> Sent: Friday, July 27, 2001 12:00 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] namespace declaration when generating a stylesheet
>
>
> Hi
>
> I have got a source xml document which could have namespace
> declarations in
> it, though it will never be used in the source.
>
> I am transforming the xml document into a stylesheet via another
> stylesheet.
>
>
> The result stylesheet needs any namespace declarations that were in the
> source (where they will be needed).
>
> How do I get them there (using XSLT)? I am stumped.

Automatically. Honestly. When producing XML, XSLT will always add namespace
declarations where they are needed by the result elements.




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread