> I had to create a function to remove the blank nodes though that are
created
> since there are endlines and something else I never found out what they
> where (but isWhiteSpace() results in true).  You will get extra nodes that
> display as blank if you don't.
hi,

this is because DOM and underlying XML parser when in non-validating mode
assume that elements have mixed content so new line is not ignored though it
is white space. you can not just remove every white space content or you
will miss somebody sending RPC argument " " which would be encoded as

<myMethod>
<myArg> </myArg>
</myMethod>

alek


Reply via email to