## Re: [xsl] Detecting presence of attributes

 Subject: Re: [xsl] Detecting presence of attributes From: David Carlisle 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...

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list