This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: namespace declaration when generating a stylesheet
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] namespace declaration when generating a stylesheet
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Fri, 27 Jul 2001 12:15:32 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Seaborne,
> Mark
> Sent: Friday, July 27, 2001 12:00 PM
> To: 'xsl-list@lists.mulberrytech.com'
> 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