A ka da karin XML DOM, abin da suka?

XML DOM 概要

本教程已向您讲授了如何访问及操作 XML 文档。

您已经学习到 XML DOM 将 XML 文档视为一个元素嵌套其他元素的树结构,并且可以通过 DOM 树来访问所有的元素。他们的内容可被修改或删除,新的元素也可通过 DOM 来创建。

You have learned about XML parser knowledge, and how to load XML documents into the parser.

We have also introduced most of the important DOM objects, as well as their usage.

For more information about XML DOM, please visit our XML DOM instance.

You have learned about XML DOM, what next?

The next step should be to learn XSLT.

If you need to validate an XML document, the next step is to learn about DTD and XML Schema.

XSLT

XSLT is a stylesheet language for XML files.

With XSLT, you can convert XML documents to other formats, such as XHTML.

If you want to learn about XSLT, please visit our Tutorial of XSLT.

DTD

The role of DTD is to define which elements and attributes are legal in an XML document.

DTD is used to validate XML data.

If you want to learn more about DTD, please visit our DTD tutorial.

XML Schema will replace DTD.

Unlike DTD, XML Schema has support for data types and namespaces.

If you want to learn about XML Schema, please visit our Tutorial of XML Schema.