RE: [xsl] adding a namespace to a stylesheet automatically

Subject: RE: [xsl] adding a namespace to a stylesheet automatically
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Oct 2003 21:15:27 GMT

> 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
--
http://www.dcarlisle.demon.co.uk/matthew

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


Current Thread