diff --git a/src/common/datatypes.xsl b/src/common/datatypes.xsl new file mode 100644 index 00000000..d675f06d --- /dev/null +++ b/src/common/datatypes.xsl @@ -0,0 +1,55 @@ + + + + + + + + + base64 + date-time + date-time-with-timezone + email-address + non-negative-integer + positive-integer + + + + + + + + + + + + + https://pages.nist.gov/metaschema/specification/datatypes + + + + + + + + + + /# + + + + + + \ No newline at end of file diff --git a/src/document/common/common-definitions.xsl b/src/document/common/common-definitions.xsl index 60bc5bcb..4a944798 100644 --- a/src/document/common/common-definitions.xsl +++ b/src/document/common/common-definitions.xsl @@ -6,13 +6,12 @@ exclude-result-prefixes="#all"> + - - /reference/datatypes - + @@ -238,10 +237,10 @@ { local-name() } - + - { @as-type } + diff --git a/src/document/json/json-docs-hugo-uswds.xsl b/src/document/json/json-docs-hugo-uswds.xsl index be763b2a..ae62dd7e 100644 --- a/src/document/json/json-docs-hugo-uswds.xsl +++ b/src/document/json/json-docs-hugo-uswds.xsl @@ -19,8 +19,6 @@ - /reference/datatypes - @@ -1182,19 +1180,17 @@ + + - - - + - - - + + @@ -16,9 +17,7 @@ ../ - - - /reference/datatypes + @@ -217,8 +216,7 @@ details:not([open]) .show-closed { display: inline } not seeing json tree id for { name(.) } - - + @@ -279,7 +277,9 @@ details:not([open]) .show-closed { display: inline } - { @as-type } + + + diff --git a/src/document/json/object-reference-html.xsl b/src/document/json/object-reference-html.xsl index 35275f43..1a8c5035 100644 --- a/src/document/json/object-reference-html.xsl +++ b/src/document/json/object-reference-html.xsl @@ -4,6 +4,9 @@ xpath-default-namespace="http://csrc.nist.gov/ns/oscal/metaschema/1.0" xmlns:m="http://csrc.nist.gov/ns/oscal/metaschema/1.0" exclude-result-prefixes="#all"> + + + @@ -12,8 +15,6 @@ json/outline json/definitions - /reference/datatypes - @@ -182,7 +183,7 @@ - { @as-type } + @@ -192,9 +193,6 @@ - - -