xsl-list
[Top] [All Lists]

RE: how do you determine if a property exists?

2004-04-15 07:39:21
I have been looking for a function like
"exists(@Predecessor)", but there does not seem to be
such a function...

There is such a function in XPath 2.0. But you don't really need it, since
boolean(@Predecessor) works just fine, and is implicit if you write

<xsl:if test="@Predecessor">

Michael Kay