Re: [xsl] xpath syntax error

Subject: Re: [xsl] xpath syntax error
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Wed, 17 Dec 2008 16:20:55 +0100 (CET)
Andrew Welch wrote:

> Sometimes it's bit nicer to keep them separate:

> match="p[not(node())]"/>
> match="q[not(node())]"/>

  Yup.  And if the predicate is quite complex, one can always
encapsulate it into a user-defined function:

    match="p[my:predicate(.)]"/>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread