This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Detecting presence of attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Detecting presence of attributes
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 5 Feb 2001 15:30:30 GMT
- References: <jUsT.aNoTheR.mEsSaGe.iD.98138576521229@silmaril.ie>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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