XML DOM Tutorial

The XML Document Object Model defines standard methods for accessing and manipulating XML documents.

DOM represents an XML document as a tree structure, with leaves defined as nodes.

Start learning DOM!

节点树

XML DOM object reference manual

At CodeW3C.com, we provide a comprehensive DOM reference manual, including all objects and their properties and methods.

XML DOM Reference Manual

XML DOM instance

Learn 50 examples! Use our editor to edit the source code, then click the test button to view the results.

Try it yourself!