Re: XPath REC questions: comments and PIs

Subject: Re: XPath REC questions: comments and PIs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 25 Jan 2000 15:58:32 GMT
> The spec says (in [5.2]) that PI and comment nodes are children of their 
> containing elements but it does not say anything at all about whether those 
> elements are considered parents of the PIs and/or comments that they 
> contain.

just before 5.1:


] A root node or an element node is the parent of each of its child nodes.

so if a pi is a child of some element, that element is the parent of the
pi.

David


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


Current Thread