This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]