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

RE: adding a namespace to a stylesheet automatically

Subject: RE: adding a namespace to a stylesheet automatically
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Thu, 30 Oct 2003 12:47:48 -0600
stylesheet and target namespaces
> > What I'm looking for is a way to avoid the tedious and error-prone
> > work of going through
> > the stylesheet and inserting a namespace prefix
> 
> One way that is simple (so perhaps less error prone) if not
> particularly efficient is do a first pass on your input with a
> stylesheet that just renames every element in your new target 
> namespace
> to the same local name in no-namespace, then run your 
> unchanged original
> stylesheet.
> 
> David

I hadn't thought of that. It would certainly do the job...

However it would somewhat defeat my purpose for adding a namespace
to the XML document in the first place, i.e. to ensure a clean
distinction between different categories of data (corresponding to
different namespaces).

Lars


 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.