[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Carrying Namespaces through a XSL to XSL Transform

Subject: RE: Carrying Namespaces through a XSL to XSL Transformation
From: "Julian F. Reschke" <julian.reschke@xxxxxx>
Date: Fri, 29 Dec 2000 00:31:35 +0100
julian f. reschke 2005
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Smith, Chad
> Sent: Wednesday, December 27, 2000 7:13 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  Carrying Namespaces through a XSL to XSL Transformation
>
>
> > Because of the inability to convert XPath strings to XPath
> nodesets, I am
> > forced to perform XSL to XSL Transformations.  these
> transformations have
> > worked out well with a single exception: I cannot migrate more than one
> > namespace to the resulting XSLT file.  This is a problem because I would
> > like for the resulting XSLT to utilize some form of embedded script, but
> > since I am using Xalan, this requires two additional namespaces.
> >
> > I am currently using 'xsl:namespace-alias' to carry over the actual XSL
> > namespace, however multiple uses of this tag with different
> properties do
> > not migrate additional namespaces but only attempt to overwrite
> the first.
> >
> > Any ideas?

Maybe this is a stupid question -- but why would you need to do anything
specific to "carry over" the namespace declarations? I see why you need
xsl:namespace-alias for the actual XSLT code generated (done that myself a
lot of times), but for the rest? AFAIK, XSLT will keep all namespaces
declared in your source document unless you use exclude-result-prefixes to
avoid that...


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.