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/