XmlComment reached with GetElementByTagName?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zürcher See

    #1

    XmlComment reached with GetElementByTagName?

    If I have a xmlNode that point to a xmlComment, the name of the node is
    "#comment", but if I try to get all the comment with the
    GetElementByTag Name("#comment" ), the xmlNodeCollecti on is empty.
    There is a way to get the xmlNodeCollecti on of the xmlComment?


  • Morten Wennevik

    #2
    Re: XmlComment reached with GetElementByTag Name?

    A comment isn't defined as an element and that is probably why
    GetElement... doesn't return it.
    You may have to check all nodes for the comment node type.

    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    Comment

    Working...