ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] XSLT template from XSLT + XML
by Michael Semcheski other posts by this author
Sep 30 2002 10:16PM messages near this date
RE: [xsl] XSLT template from XSLT + XML | Re: [xsl] 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
Thread:
Michael Semcheski
Jeni Tennison
James Fuller
Michael Semcheski
Jeni Tennison
Wendell Piez
Vedu Hariths
Michael Kay
Robert Koberg
Vedu Hariths
Robert Koberg
Vedu Hariths

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved