1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<xsl:stylesheet
="1.0"
:xsl="http://www.w3.org/1999/XSL/Transform"
:n3="http://www.w3.org/1999/xhtml"
:n1="urn:hl7-org:v3"
:n2="urn:hl7-org:v3/meta/voc"
:voc="urn:hl7-org:v3/voc"
:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xsl:output method="html" indent="yes" version="4.01" encoding="ISO-8859-1" doctype-public="-//W3C//DTD HTML 4.01//EN"/>
<xsl:template match="/">
<table width="100%">
<tr>
<td align="center">
<xsl:apply-templates select="ClinicalDocument/component/structuredBody"/>
</td>
</tr>
</table>
</xsl:template>
<!-- StructuredBody -->
<xsl:template match="ClinicalDocument/component/structuredBody">
<!--<xsl:value-of select="ClinicalDocument/component/structuredBody/component/section/title"/>-->
<xsl:apply-templates select="component/section"/
</xsl:template>
<!-- Component/Section -->
<xsl:template match="component/section">
<xsl:apply-templates select="title"/>
<table>
<tr>
<td><xsl:apply-templates select="text"/></td>
</tr>
</table>
</xsl:template>
<!-- Title -->
<xsl:template match="title">
<h3><span style="font-weight:bold;">
<xsl:value-of select="."/>
</span></h3>
</xsl:template>
<!-- Text -->
<xsl:template match="text">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>
|
Partager