Re: How to get reference to an object





Alex D. wrote:
but I need to be able to get all kind of DOM nodes and not only Elements. I also need Comments, Attr, Text...etc

What is the name of a comment or text node in your understanding?
Are you searching in a HTML document or in an XML document (where the latter might allow XPath searches)?

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.



Relevant Pages

  • Re: html as xml document on IE
    ... opera and safari the html document ... inherits their XML document methods. ... IE does not implement W3C DOM Level 2 for the most part. ...
    (comp.lang.javascript)
  • Re: libxml: is it possible not to use doctype declaration?
    ... thanks for the suggestion. ... The document is not an HTML document. ... an XML document. ... resolve it. ...
    (comp.lang.ruby)
  • Re: HTML META tag
    ... Please post replies to newsgroup. ... I am transforming a XML document into a HTML document using the ...
    (microsoft.public.vb.general.discussion)
  • Re: How to get reference to an object
    ... DOM is a tree that can contain different nodes, ... Elements, Attr, Comments, DocumentFragment and Text. ... Are you searching in a HTML document or in an XML document (where the ...
    (microsoft.public.scripting.jscript)
  • HTML META tag
    ... I am transforming a XML document into a HTML document using the ... DomDocument's transformNode method. ... For some reason, this following line is ...
    (microsoft.public.vb.general.discussion)

Loading