Declaring a PP‐Module in XML - commoncriteria/pp-template GitHub Wiki
29 January 2024
To declare a PP-Module in XML, the first code in the document must be:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="..\transforms\module2html.xsl"?>
<?xml-model href="../transforms/schemas/CCModule.rng" type="application/xml"
schematypens="http://relaxng.org/ns/structure/1.0"?>
The rest of the file consists of a single <Module>
element that contains all the XML to generate the PP-Module.
<Module
name="Widget Clients" # Name of the Module
xmlns="https://niap-ccevs.org/cc/v1" # Some html magic
xmlns:h="http://www.w3.org/1999/xhtml" # uses the "h" namespace for inline HTML
xmlns:sec="https://niap-ccevs.org/cc/v1/section" # The "sec" namespace for sections is available
target-product="Widget" # Name of the TOE product
target-products="Widgets" # Plural name of the TOE product (optional)
boilerplate="yes" # Whether to use boilerplate text by default (can be disabled in sections)
short="Wid"> # A short name for the PP (e.g. App or MDF)
...PP-Module Body...
</Module>