Subject: RE: processing-instruction()
From: "Joseph Kesselman" <keshlam@xxxxxxxxxx>
Date: Wed, 31 Jul 2002 11:15:24 -0400
|
>Are PIs in node()? My
>impression from a book is that node() only matches elements.
When in doubt, check the spec -- "A node test node() is true for any node
of any type whatsoever." (http://www.w3.org/TR/xpath#node-tests)
Some axes only look at elements, which is probably why you're confused.
______________________________________
Joe Kesselman / IBM Research
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|