..
/
download
<?xml version='1.0'?>
<!--beaslic, 01/04/2011, changed stylesheet version from 1.0 to 1.1-->
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!--This template includes all the elements in IDSTATUS which produce no output for a printed page.-->
<xsl:template match="additionalModification | authorityExceptions | authorityInfo | authorityInfoAndTp
| authorityNotes | brexDmRef | copyright | copyrightPara | dataConds | dataDestruction | dataDisclosure
| dataDistribution | dataHandling | dataRestrictions | enterpriseName | excludedModification | exportControl
| exportRegistrationCode | exportRegistrationStmt | issueDate | issueInfo | modification | modificationTitle
| policyStatement | productConfiguration | identAndStatusSection/*/remarks | responsiblePartnerCompany | restrictionInfo
| restrictionInstructions | retrofit | skillLevel | sourceDmIdent | techPubBase | techStandard">
</xsl:template>
<!--s1000d_Iss_4_0_1_r1.pdf, Chapter 3.9.5.1, para 2
The element <identAndStatusSection> is used to contain the identification and status of a data module,
which are captured in the two parts, identification and status.-->
<xsl:template match="identAndStatusSection">
<xsl:choose>
<xsl:when test="parent::pm">
<xsl:apply-templates select="pmAddress"/>
</xsl:when>
<xsl:otherwise/>
</xsl:choose>
</xsl:template>
<xsl:template match="pmAddress">
<xsl:apply-templates select="pmAddressItems"/>
</xsl:template>
<xsl:template match="pmAddressItems">
<xsl:apply-templates select="pmTitle"/>
<xsl:apply-templates select="shortPmTitle"/>
</xsl:template>
<xsl:template match="pmTitle">
<xsl:choose>
<xsl:when test="ancestor::pm">
<fo:block font-size="14pt" font-weight="bold" text-align="center" keep-with-next="auto"
span="all" margin-top="13pt" margin-bottom="14pt">
<xsl:apply-templates/>
</fo:block>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="shortPmTitle">
<xsl:choose>
<xsl:when test="ancestor::pm">
<fo:block font-size="14pt" font-weight="bold" text-align="center" keep-with-next="auto"
span="all" margin-top="13pt" margin-bottom="14pt">
<xsl:apply-templates/>
</fo:block>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="pmStatus"/>
</xsl:stylesheet>
gopher://khzae.net/0/s1000d/links/projects/3031/sample/PhunGun/CSDB/FO-3031-A00-S1000DGUN-IDSTATUS_001-00_EN-US.xsl