Java Xml 简明教程 Create XML Document Java Xml 简明教程 Java XPath Parser - Create XML Document XPath parser is used to navigate XML Documents only. It is better to use DOM parser for creating XML. Please refer the Java DOM Parser section for the same.