RE: [xml-dev] xpath expression with fallback if no match is found

From
Michael Kay <>
To
'Sebastian Prehn' <>
Date
2009-05-08T08:12:34Z
ID
<D24C08032DBB44BC807E64B89416D7BD@Sealion>
Thread
RE: [xml-dev] xpath expression with fallback if no match is found
> Im not sure which xpath version my saxon test program 
> supports, since the transformation of your first suggestion 
> failed with "expected ")".

That probably means you're using the old Saxon 6.x processor, which only
supports XSLT 1.0. The current release is Saxon 9.1.

> > 
> > <xsl:value-of select="(abc:def/date, '0000-00-00')[1]"/>
> > 

Michael Kay
http://www.saxonica.com/