How can I programatically modify an XML Document to respect a DTD in java -


i have xml document built programatically , waiting serialisation (as string). before serialising though, re-arrange nodes match definition of dtd. should mention implementation prevents me know in order tree built.

any recommended solutions ?

there academic research correct invalid xml:

correction of invalid xml documents respect single type tree grammars

but don't know if there available library that.

so need hand, or better rework generation of document produces valid instance in first place.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -