xsl-list
[Top] [All Lists]

Re: [xsl] xpath syntax error

2008-12-17 10:21:24
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/
























      

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>