Bookmark and Share

News

01
An add-on application to OpenOffice.org Writer that provides tools to assist in the marking up of the documents in AKOMA NTOSO schemas. It includes a BungeniEditor extension that is able to translate ODF documents into both AKOMA NTOSO XML documents and valid HTML documents.

One of the components of Bungeni is the BungeniEditor. It is an add-on application to OpenOffice.org Writer that provides tools to assist in the marking up of the documents in AKOMA NTOSO schemas.

The document format used by OpenOffice.org is the ODF format and in order to create AKOMA NTOSO XML format there was need of a further step to transform the ODF document in AKOMA XML and validate it.

We first tried to do the transformation using a single XSLT style sheet that maps all the ODF elements into the corresponding AKOMA NTOSO elements but this solution had many disadvantages. The main problem was that, even if they are both ODF and AKOMA NTOSO which are 'dialects' of XML, they are anyhow very different. We found that some structures used by ODF could not be translated using only XSLT style sheets and that there needed also some functionalities offered by a high level programming language.

So we opted for the creation of an extension of the BungeniEditor that takes care of the translations. The extension uses the large number of the functionalities supplied by Java in order to make the structure of the ODF documents more similar to that one of the AKOMA NTOSO XML documents. As the last step, the engine applies a set of mini XSLT to the "normalized" documents in order to transform it in the final AKOMA NTOSO XML document.

So we have a first translation in an interchange format, and a second final translation in the actual AKOMA NTOSO XML document.  We found that  METALEX (http://www.metalex.eu/) standard, that was created  as an interchange format for legal and legislative resources between other, more jurisdiction-specific XML standards in Europe, was ideally suited for that.

The BungeniEditor extension  is able to translate ODF documents into both AKOMA NTOSO XML documents (valid against the last release of the AKOMA NTOSO schema) and valid HTML documents starting by AKOMA NTOSO xml documents.

It is also important to point out that the use of the mini XSLT style sheets makes the translation tool more simple to be updated when a newer version of the AKOMA NTOSO standard will be released.

denemeeeee