> I am working on a project where we will use XML to exchange information
> between
> applications in different government agenices. We want to implement both
> on-line access
> between applications and asynchronous store & forward type of
> mechanisms.
>
> I understand that there are 'lots' of good XML parsers (we have tried
> some) out there and that SAX and DOM are
> the prefered ways for applications to 'read' XML structures. I would
> like to ask if there's anyone
> that have the opposite problem i.e. for applications to create XML
> documents on-the-fly. Of course
> the developer could 'hand code' the XML structures which is error prone
> and booring . I am looking
> for something (API, lib) so that we could avoid this.
>
> I would like to have a 'library' to which the application developer
> could say 'using this DTD please
> instantiate a XML document and help me to fill it in'.
>
> Any solutions?
Build a DOM tree programmatically and write out the contents. Most DOM packages
support this feature or some form of DOM Writer.
Tyler