Re: Recursion in XSL

Subject: Re: Recursion in XSL
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 14 Aug 2000 11:55:22 -0600 (MDT)
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


Current Thread