Microsoft.XMLDom

Discussion in 'ASP General' started by Eduardo Rosa, Jul 2, 2004.

  1. Eduardo Rosa

    Eduardo Rosa Guest

    How can I select a comment node using selectSingleNode, sendo que
    selectSingleNode("#comment") don't works?

    thanks a lot
     
    Eduardo Rosa, Jul 2, 2004
    #1
    1. Advertising

  2. Eduardo Rosa wrote:

    > How can I select a comment node using selectSingleNode, sendo que
    > selectSingleNode("#comment") don't works?


    Use at least
    xmlDocument = Server.CreateObject("Msxml2.DOMDocument.3.0")
    then set
    xmlDocument.setProperty "SelectionLanguage", "XPath"
    and then
    selectSingleNode("comment()")
    should do

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Jul 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lamberti Fabrizio
    Replies:
    0
    Views:
    628
    Lamberti Fabrizio
    Jun 23, 2004
  2. B
    Replies:
    9
    Views:
    268
    dNagel
    Jan 16, 2006
  3. jfizer
    Replies:
    2
    Views:
    150
    jfizer
    Jul 30, 2004
  4. Eitan
    Replies:
    1
    Views:
    103
    Martin Honnen
    Nov 28, 2004
  5. Replies:
    36
    Views:
    379
    Dr John Stockton
    Dec 6, 2005
Loading...

Share This Page