xml modification using codesynthesis-xsd

157 views Asked by At

I wanted to know if codesynthesis-xsd can be used to modify values of an xml. From the website I could see only about xml parsing. But in my program I want to do both parsing as well as editing the xml.

1

There are 1 answers

5
Erik Sjölund On BEST ANSWER

Yes, it is possible to

  • first parse the XML into the generated data object model
  • then make a modification
  • and finally serialize it back to XML

See for instance the library example in the CodeSynthesis XSD source package: