Difference between revisions of "Dirxml"

From FirebugWiki
Jump to: navigation, search
(Added description of syntax and linked back to Command Line API)
m (Added categories)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{needsHelp}}
+
Prints the XML source tree of an HTML or XML node.
  
Prints the XML source tree of an HTML or XML element.
+
This includes the node itself plus all it's descendants and looks identical to the view inside the [[HTML Panel]]. You can click on any node to inspect it in the HTML panel.
  
This looks identical to the view inside the [[HTML Panel]]. You can click on any node to inspect it in the HTML panel.
+
This command is a shortcut for the [[console.dirxml]] API.
 
+
== Syntax ==
+
<source lang="javascript">
+
dirxml(node)
+
</source>
+
  
 
== See also ==
 
== See also ==
 
* [[dir]]
 
* [[dir]]
 
* [[Command Line API]]
 
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 17:03, 21 November 2013

Prints the XML source tree of an HTML or XML node.

This includes the node itself plus all it's descendants and looks identical to the view inside the HTML Panel. You can click on any node to inspect it in the HTML panel.

This command is a shortcut for the console.dirxml API.

See also[edit]