This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: processing-instruction()


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]