xsl-list
[Top] [All Lists]

Re: Adding Prefixes to Elements

2005-03-07 09:18:25
Probably you can use the feature "edit -> replace"
cleverly to save time..

As a last resort (when everything fails!) you can
*write a stylesheet* to make changes in your original
stylesheets .. Probably some variant of identity
transform..

Regards,
Mukul

--- Jonathan Marenus <jonathanmarenus(_at_)yahoo(_dot_)com>
wrote:

In XMLSpy, how would I go about automatically adding
prefixes to every element name in my XSL stylesheet.

For example, when I have a template match="A/B/C", I
would like it to change to x:A/x:B/x:C.  I want this
to occur for every element name in my stylesheet,
whether they be in a template statement, for-each
statement, etc.  I am asking this because I have
some
really large stylesheet files that I would rather
not
enter the prefixes manually.  It would take too much
of my time.  Any suggestions?

Jonathan Marenus



        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>