Skip to content

PP XML Declaration

Bob Clemons edited this page Jan 16, 2024 · 1 revision

Updated 16 January 2024

To declare a PP in XML, the first code in the document must be:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="..\transforms\pp2html.xsl"?>
<?xml-model href="https://raw.githubusercontent.com/commoncriteria/transforms/master/schemas/CCProtectionProfile.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>

The rest of the file consists of a single <PP> element that contains all the XML to generate the Protection Profile. If this is a cPP, the first element inside the <PP> element must be an empty <cPP/> element.

<PP xmlns="https://niap-ccevs.org/cc/v1"
    xmlns:h="http://www.w3.org/1999/xhtml"
    xmlns:sec="https://niap-ccevs.org/cc/v1/section"
    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)

    <cPP/>                                             # This empty element must be here if this is a cPP. It must not be here if it is not.

    ...PP Body...
	
</PP>
Clone this wiki locally