Microsoft.XMLDom

E

Eduardo Rosa

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

thanks a lot
 
M

Martin Honnen

Eduardo said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top