Re: Looping XML

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Paulo" <eris_paulo@xxxxxxxxxxxx> wrote in message
news:%23CQCNpydJHA.1272@xxxxxxxxxxxxxxxxxxxxxxx

Thank you very much to all of you, but why when I stop the debugger on
node that has some value it informs me "null" on NodeValue and the next
loop the NodeName says: "#text" and shows me the correct value...?

The technical explanation is that the text of a node is in fact a node
itself with a node type of "text node" or something like that.


.



Relevant Pages

  • Re: Looping XML
    ... node that has some value it informs me "null" on NodeValue and the next ... loop the NodeName says: "#text" and shows me the correct value...? ... Can't I get it on the first time of loop? ... The message was checked by ESET Smart Security. ...
    (microsoft.public.vb.general.discussion)
  • Re: Opinions on function (recursive traversing DOM-tree)
    ... A while loop in the reverse order will be very slightly faster, ... the for loop is improved by calculating the limit only once. ... Look up nodeName once, into a temporary. ... have the more probable capitalisation first. ...
    (comp.lang.javascript)
  • Re: What is #text??
    ... >> For text nodes, the nodeName ... > nodeValue should be the text of that textnode. ...
    (microsoft.public.scripting.jscript)
  • Re: XML<-> JSON conversion. What do you think?
    ... nodeName: "e", ... I think that a JSON converter, in this case, can join strings: ...
    (comp.lang.javascript)
  • Re: What is #text??
    ... Dave wrote: ... > For text nodes, the nodeName ... nodeValue should be the text of that textnode. ...
    (microsoft.public.scripting.jscript)