This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: testing node type
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: testing node type
- From: "Beckers, Marc" <Marc dot Beckers at softwareag dot com>
- Date: Fri, 22 Sep 2000 17:36:30 +0200
- Reply-To: xsl-list at mulberrytech dot com
> 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