generated from usnistgov/opensource-repo
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More wip including encoding solution
- Loading branch information
1 parent
2f9849b
commit 104f8ab
Showing
39 changed files
with
540 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:oscal="http://csrc.nist.gov/ns/oscal/1.0"> | ||
|
||
<xsl:import href="www_fm22-6_simple.xsl"/> | ||
|
||
<xsl:template match="oscal:catalog"> | ||
<body class="catalog"> | ||
<header> | ||
<xsl:apply-templates select="oscal:metadata/oscal:title"/> | ||
</header> | ||
<main> | ||
<xsl:apply-templates select="oscal:group[@class='requirement-category']"/> | ||
</main> | ||
</body> | ||
</xsl:template> | ||
|
||
<!-- overriding import --> | ||
<xsl:template match="oscal:control[@class='requirement']/oscal:title" priority="1"> | ||
<summary class="h3"> | ||
<xsl:apply-templates/> | ||
</summary> | ||
</xsl:template> | ||
|
||
<xsl:template name="extra-style"> | ||
<style type="text/css"> | ||
<xsl:text disable-output-escaping="yes" xml:space="preserve"> | ||
|
||
.requirements.group .group { display: inline-block; width: 24em; vertical-align: top; | ||
margin-top: 1em; margin-bottom: 0em; | ||
padding: 0.4em; border: thin solid black } | ||
|
||
.requirements-group-title { margin-top: 0em } | ||
|
||
details.control { background-color: whitesmoke; color: black; padding: 0.42em; border: thin outset black } | ||
|
||
details[open] { width: max-content; padding-right: 2em; position: sticky; z-index: 2; | ||
border: medium inset black} | ||
|
||
</xsl:text> | ||
</style> | ||
</xsl:template> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.