Re: [xsl] Detecting presence of attributes

Subject: Re: [xsl] Detecting presence of attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 5 Feb 2001 15:30:30 GMT
> I think translate SP to "," might also do it.

It depends what you want to do. If you just want to put them out as text, 
but if you want to process each one, get its associated URI etc, you'll
need to recurse.

But you should think of recursive templates are a pleasure, not a chore,
otherwise you'll never get on with XSLT.

It could be worse: \ifcat#1=10 \foo\expandafter\else\bar\expandafter\fi
to use an idiom in a language we both know well...

This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread