Tell me how in java (JAXB, SAX, DOM ...) the most quickly and conveniently you can parse the xml type:

<name="krt" null="false" value="S"/> <name="trt" null="false" value="TW"/> <name="gdf" null="false" value="SE"/> <name="vcx" null="false" value="GGT"/> <name="trg" null="false" value="NH"/> 

Where value is written to java-variables (for example, S written to krt , TW written to trt , etc.)

    1 answer 1

    Look at this tutorial , it describes how to create an entity and how to create an object from xml .

    • Please try to publish detailed answers containing a specific example of the minimum solution, supplementing them with a link to the source. Answers –references (like comments) do not add knowledge to Runet. - Nicolas Chabanovsky ♦