usnistgov / xslt-blender

XML/XSLT processing in the browser, supported by a Typescript library
Other
7 stars 2 forks source link

Automated production of display HTML XSLT from Metaschema #43

Open wendellpiez opened 5 years ago

wendellpiez commented 5 years ago

User Story:

An OSCAL developer (working with Metaschema) might like to have a way to produce, from a metaschema, a plain simple XSLT, which would produce a reasonably clean HTML rendering of the (metaschema-valid XML) data for display in a vanilla browser.

Goals:

Dependencies:

None tmk beyond stability in the metaschema design. A prototype XSLT for this already exists on my system.

TBD: whether to produce an XSLT 1.0 stylesheet, an XSLT 3.0 stylesheet, or both. Details of supported interfaces. Details of the mapping, for example propagating @class.

Acceptance Criteria

wendellpiez commented 4 years ago

There is a good start at a stylesheet for this now in my active working branch.

wendellpiez commented 4 years ago

XSLT is here: https://github.com/wendellpiez/metaschema/blob/issue39-pipeline-refactor/toolchains/xslt-proto-v04/util/make-xml-publish-XSLT.xsl

It is WIP, but mostly done. A comment notes items tbd.