I have several xmls that have the same format, and I would like to combine them into one large XML file. Is there any useful class that would allow me to capture specific nodes and merge them together, or do I need to parse all xmls and create a new one? Regards, Peter
If the format is simple and the joins won't be deeply nested,why not throw out the headline and join the text?
If combining is more complicated apache commons will come with help.Therefore, parsing would be the most sensible solution.
, XML. , . SAX , , .
You can also use XSLT for this. For details, this . You can use XSLTransformer API in java.
Source: https://habr.com/ru/post/1763570/More articles:What is the principle of a template in C ++? - c ++Что делает `standardUserDefaults` на` NSUserDefaults`? - nsuserdefaultsreal-time notifications using xmpp - push-notificationHow to raise an object on java.util.Map? - javaRequired Functions and Optional Variables - javascriptDynamic OAuth Facebook Callback URL? - facebookDebugging ASP.NET Session Variables - debuggingPython: reading Excel 2007 files under Linux - pythonWhich programming language is best for website development? - c #Form not submitted after second call - javascriptAll Articles