Re: Recursion in XSL
ciaran byrne wrote: > Is is possible to handle recursion in XSL in the following manner. > I have a tag: > > <tag att1="value1" att2="value2" att3="value3"> > > where I want to replace all the '"' with '|' as follows: > att1=|value1| att2=|value2| att3=|value3| (!no space after the last > attribute) Again, you cannot operate on tags in XSLT. If you need to treat an XML document like a big text string, you should be using ASP, PHP, CFML, Perl, etc. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format