- From: Jaspreet Singh <Jasingh@quark.co.in>
- Date: Sat, 20 Mar 2004 14:36:26 +0530
- To: www-dom@w3.org
Prompt replies make me so happy :) I tried returning the documentElement from getFirstChild but it didn't work.... What worked was returning the first child of the documentElement. Is this right? Thanks a lot Jaspreet > -----Original Message----- > From: Philippe Le Hegaret [mailto:plh@w3.org] > Sent: Friday, March 19, 2004 9:56 PM > getFirstChild would return the document element, or a > processing instruction if any, etc. Have a look at section > 1.1.1 regarding the possible children of a Document node, or > appendix C.1.1 on how to map the Infoset to a Document node. > > Philippe > >
Received on Saturday, 20 March 2004 04:07:34 UTC