Customizing Transformer objects when writing to an XML file

P

Peter Loh

Hi,

I would like to transform an in-memory DOM object in a particular
fashion (e.g. alphabetically sorting the elements at each level)
before writing the result to an XML file. It seems that this should
be possible using transformer objects
(javax.xml.transform.Transformer), but I couldn't find any related
documentation. Would appreciate any information on how I could
achieve this. Thanks.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top