Dirxml

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Added description of syntax and linked back to Command Line API)
m (Added categories)
 
(3 intermediate revisions 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 00:03, 22 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.

[edit] See also

Personal tools