HasChildnodes=true for commented xml
hi
example:
<almostweekend>
<!--saterday>beer</saterday>
<sunday>sleeping</sunday-->
</almostweekend>
I get 'true' when doing in asp:
set n = xmlobj.selectsinglenode("almostweekend")
if n.hasChildnodes then --> results in True
and
n.Childnodes.length = 1 --> must be 0 of course
what am I doing wrong? Im using msxml2.domdocument.4.0
thx
kabe
|