Information Technology Reference
In-Depth Information
Exhibit 5.
<xsl:stylesheet version=”1.0” xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”>
<xsl:output method=”html” encoding=”utf-8” doctype-public=”-//W3C//DTD XHTML 1.0 Transition-
al//EN” doctype-system=”http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”/>
<xsl:template match=”/”>
<table border=”1”>
<tr>
<th scope=”col”>Name</th>
<th scope=”col”>Surname</th>
<th scope=”col”>ISN</th>
<th scope=”col”>Diagnoses</th>
<th scope=”col”>Treatment</th>
<th scope=”col”>C&#186;</th>
<th scope=”col”>Blood<br/>sample</th>
<th scope=”col”>Hematocrit</th>
<th scope=”col”>Days<br /> nursing</th>
<th scope=”col”>Still<br/> nursing?</th>
<th scope=”col”>Image</th>
<th scope=”col”>Video</th>
</tr>
<xsl:for-each select=”patients/patient”>
<tr>
<td width=”10%” align=”center”><xsl:value-of select=”@name”/></td>
<td width=”10%” align=”center”><xsl:value-of select=”@surname”/></td>
<td width=”10%” align=”center”><xsl:value-of select=”@ISN”/></td>
<td width=”10%” align=”center”><xsl:value-of select=”diagnoses”/></td>
<td width=”10%” align=”center”><xsl:value-of select=”treatment”/></td>
<td width=”5%” align=”center”><xsl:value-of select=”temperature”/></td>
<xsl:if test=”bloodsample/file!=''”>
<td width=”5%” align=”center”><a href=”{bloodsample/file}”>yes</a></td>
</xsl:if>
<xsl:if test=”bloodsample/file=''”>
<td width=”5%” align=”center”>N/A</td>
</xsl:if>
<xsl:if test=”bloodsample/hematocrit=''”>
<td width=”10%” align=”center”>No data<br/>avaiable.</td>
</xsl:if>
<xsl:if test=”gender='male' and (bloodsample/hematocrit&gt;='50.4' or
bloodsample/hematocrit&lt;='40.6')”>
<td width=”10%” align=”left” background=”HPCM.bmp”>
<table width=”{bloodsample/hematocrit}%” bgcolor=”#FF0000”><tr><td></td></tr></table>
</td>
</xsl:if>
Search WWH ::




Custom Search