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

Re: XSLT template from XSLT + XML

Subject: Re: XSLT template from XSLT + XML
From: "Michael Semcheski" <mhs@xxxxxxxxx>
Date: Mon, 30 Sep 2002 18:16:48 -0400
Re:  XSLT template from XSLT + XML
> I guess that you haven't discovered the delights of
> xsl:namespace-alias, then. You can define an "alias" namespace which
> takes the place of the XSLT namespace within your stylesheet and then
> gets replaced on output. That makes it a lot easier to write the
> stylesheets (though it's still a little confusing) because you can use
> literal result elements rather than xsl:element/xsl:attribute.

Delight is exactly the word I would use!

That made what I was trying to do as easy as a search and replace.

Just out of curiosity, is it possible to create a stylesheet that will go in
and recreate all elements and attributes?  I can see it being possible for
the elements, but the attributes would be tough, unless you can do a
for-each select="attributes" type of thing.

Anyway, I am leaving that last question for posterity and the search
engines.

Thanks very much,
Mike


 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.