xsl-list
[Top] [All Lists]

[xsl] Using XSLT to do a search & replace

2011-04-21 13:09:59




Hi,

I have a XML file that I want to transform. I want to be able to do a
search & replace on elements in the XML and replace them. For example:

Replace <para> with [ParaStyle:para]
Replace <text> with [ParaStyle:text]

etc...

I would like to have all the search & replace in one file which is
called or imported by the main script. Does something like this already
exist? I've been searching the internet but can't find a nice example.          
                          
--~------------------------------------------------------------------
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>