RE: testing node type

Subject: RE: testing node type
From: "Beckers, Marc" <Marc.Beckers@xxxxxxxxxxxxxx>
Date: Fri, 22 Sep 2000 17:36:30 +0200

> I don't want to upset you, David, but they're on the XSLT and 
> XPath Quick
> reference as well (I assume that's what you're talking 
> about). Again, look
> under node tests...
> 
Yes.
The point as I understand it was that 
processing-instruction(), comment() (and, I can add, text())
*look* like functions.
Just today, for some silly reason, I was horsing around 
with "text-node()" and reverted to the spec
to find out the correct syntax is "text()". 
In Michael Kay's excellent book, a subentry "XPath syntax" under the index
entries
for "processing instruction", "comment" and "text node" pointing to p.372f
would have done the trick within seconds.

Cheers -- Marc


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread