This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
For the first step (converting java objects to XML),
you may want to look at the Betwixt project
(http://jakarta.apache.org/commons/betwixt). I've been using it
successfully to convert JavaBeans into an XML-representation. By
default, this project maps JavaBean property names directly to the XML
attribute names, but it is, of course, customizable. I haven't played
around with that a whole lot, but that may give you a quick start on
converting to XML. It took me very little time to get started with it. For the XML vocabulary, you're going to be best off in the long run if you get your data into a very domain-specific vocabulary. You mention bills, contracts, letters, and administrative papers, and of these, only administrative papers might map to DocBook. For the others, check out www.xml.org for a pretty comprehensive listing of industry-specific XML projects (including a 'legalXML' project). That doesn't mean that you can't use DocBook as an intermediary step in your publishing process. If you want your end documents to look a lot like what comes out of a DocBook toolchain, just write an XSLT stylesheet to convert your domain-specific XML documents into DocBook, then pass that DocBook through the toolchain. This allows you to take advantage of the many DocBook publishing tools out there while keeping your source XML in a very data-centric format. HTH, Jeff Carl wrote: Hi, -- Jeff Beal ----------------------------------------------------- Contemporary Technologies, Inc. (http://www.contemptech.com) 444 Liberty Ave., Suite 1800 Pittsburgh, PA 15222-1223 phone: 412-642-2222 x246 fax: 412-642-2223 |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |