xsl-list
[Top] [All Lists]

Re: how do you determine if a property exists?

2004-04-16 05:38:47


No, @duration='' will be false if @duration doesn't exist.

sigh, I knew that really. Sorry.

But you can combine both tests by writing not(@duration!='').

or not(string(@duration)) which does what I was thinking.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________