FIELD: computer science, technology for mutual transformation of document (for example, XML document) and program object (for example, Java language object).
SUBSTANCE: in such structure, interpreter is used, masking method for producing transformation properties. Due to that, transformation code is generated, having general type for transformation in both directions. Transformer transforms XML document to program object by means of analyzer 104. To execute reverse transformation (from Java language to XML) it is required, that elements of XML document are positioned in certain order to provide for validity of produced XML document 118. For this purpose, in accordance to invention, template XML document is generated using, for example, JSP technology. Template, created using JSP, allows recording tags of documents in JSP with possible reverse call for values of elements and attributes. Content may be sent to buffer or directly to the output stream of servlet.
EFFECT: it is possible to efficiently realize creation of structure for such transformation by means of standard tools.
4 dwg, 8 tbl, 2 ex
Authors
Dates
2006-11-10—Published
2001-12-28—Filed