Re: [xsl] how do you determine if a property exists?

Subject: Re: [xsl] how do you determine if a property exists?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 16 Apr 2004 13:38:47 +0100
> 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
________________________________________________________________________

Current Thread