I have a xml document like this rootXMLDoc=<root> <param></param></root>
. I need to insert paramxmlDoc= <parameter par='1'>abc</parameter>
. how to insert paramxmlDoc to rootXMLDoc in java.? and i need output like this
<root>
<parameter par='1'>abc</parameter>
<param></param>
</root>
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- Illegal to have multiple roots (start tag in epilo
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
Like this:
Note: This is from memory, so the actual method calls can be slightly different but you get the idea.