Skip to content

Generating XML Examples

psotofer edited this page Oct 26, 2021 · 3 revisions

The fact of presenting the ESPD data structures as a spread-sheet book had an additional reason: to use the spread-sheet as an elementary prototype tool to generate the XML instances of the criteria for the ESPD Request and ESDP Response documents.

Thus the folder ./docs/src/main/asciidoc/modules/ROOT/dist/xslt/ODS Data Structures to ESPD XML/ Data Structures to ESPD XML contains four XSL style-sheets that facilitate the generation of the complete set of criteria required in an ESDP Request or in an ESDP Response XML file.

For this, you can use the following method:

  1. Rename the .ods files as .ods.zip and extract the file 'content.xml'.
  2. Use an XML editor to load the 'content.xml' file.
  3. Associate (or reference) the XSL-T file to the XML.
  4. Launch the transformation from the XML Editor.
  5. Save the output file.
Clone this wiki locally