You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<axsl:stylesheetxmlns:axsl="http://www.w3.org/1999/XSL/Transform"xmlns:sch="http://www.ascc.net/xml/schematron"xmlns:iso="http://purl.oclc.org/dsdl/schematron"xmlns:oval-var="http://oval.mitre.org/XMLSchema/oval-variables-5"xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"version="1.0"><!--Implementers: please note that overriding process-prolog or process-root is
3
+
the preferred method for meta-stylesheets to use where possible. -->
<axsl:choose><axsl:whentest="count(oval:schema_version[not(@platform)]) = 1"/><axsl:otherwise>One (and only one) schema_version element MUST be present and omit the platform attribute to represent the core version.<axsl:value-ofselect="string(' ')"/></axsl:otherwise></axsl:choose><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M3"/></axsl:template><axsl:templatematch="text()"priority="-1"mode="M3"/><axsl:templatematch="@*|node()"priority="-2"mode="M3"><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M3"/></axsl:template>
<axsl:iftest="@platform = ''">Warning: The platform attribute should be set to the URI of the target namespace for this platform extension.<axsl:value-ofselect="string(' ')"/></axsl:if><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M4"/></axsl:template><axsl:templatematch="text()"priority="-1"mode="M4"/><axsl:templatematch="@*|node()"priority="-2"mode="M4"><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M4"/></axsl:template>
<axsl:choose><axsl:whentest="starts-with(.,$core_version_portion)"/><axsl:otherwise>This platform's version (<axsl:text/><axsl:value-ofselect="."/><axsl:text/>) MUST match the core version being used: <axsl:text/><axsl:value-ofselect="$core_version_portion"/><axsl:text/>.<axsl:value-ofselect="string(' ')"/></axsl:otherwise></axsl:choose><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M5"/></axsl:template><axsl:templatematch="text()"priority="-1"mode="M5"/><axsl:templatematch="@*|node()"priority="-2"mode="M5"><axsl:apply-templatesselect="@*|*|comment()|processing-instruction()"mode="M5"/></axsl:template>
0 commit comments