Xml processing guide in java 6

I am losing a little all the XML processing methods in java, xpath, sax, DOM, DocumentBuilderFactory ... different words that I don’t see how they are related ...

1), so I guess my question is: does anyone know a good tutorial on XML processing in java 6 ?, I found a few, but they seem old.

2) I need to cross the xml tree, meaning to know different nodes about it and be able to take data from it, what is the best way to do this?

thank

any link will be appreciated

+3
source share
2 answers

Java XML-, ( XML), -.

SAX - XML-. , , XML. , XML, XML-. , XML ( XML) , ORDER, ITEM. SAX XML , , .

, DOM. . , -. XML , SAX, - . DOM, , . DOM , . , , , . , .

, , . , . , , .

StAX, "DOM" XML-. , XML- , DOM, , , . , .

DOM StAX "XPath". XPath - , , . XPath , . XPath XML- "" , . XPath , XML-, .

, Java JAXB, XML. Java XML . XML, Java. Java , XML. , JAXB , Java, XML. , XML, JAXB, JAXB Java 6.

, .

SAX , , . , .

DOM XPath, , , , - XML. ( 50-100K), , DOM XPath .

, XML, JAXB . , XML- , , .

, . , XML, , , .

+6

Source: https://habr.com/ru/post/1728827/


All Articles