XMLNode.ChildNodes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Venkat Venkataramanan

    XMLNode.ChildNodes

    Hello:

    Can somebody explain to me the usage of the
    XMLNode.ChildNo des?

    When there is a node that does not have any child node,
    the above method returns an array of 1. This member has
    the following values:

    Name "#text"
    value "Bl34" (this is the value of the node)

    I would have thought that XMLNode.Childno des would
    hreturn a 0 in the above case?

    Thanks.

    Venkat
  • Kevin Yu

    #2
    RE: XMLNode.ChildNo des

    Hi Venkat,

    XMLNode.ChildNo de would return an array of 0 is there's no child node.
    According to your description, I cannot reproduce it. Try to use
    XMLNode.HasChil dNodes to judge whether there's any child nodes in that
    node. If that still doesn't work, would you please paste some of your codes
    and your XML file so I can deliver my assistance more quickly?

    If anything is unclear, please feel free to reply to the post.

    Kevin Yu
    =======
    "This posting is provided "AS IS" with no warranties, and confers no
    rights."

    Comment

    Working...