home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 December
/
PCWorld_2003-12_cd.bin
/
Software
/
komercni
/
alc
/
ep2sr51csy.msi
/
Ep.CAB
/
repx9
< prev
next >
Wrap
Extensible Markup Language
|
2002-02-25
|
3KB
|
110 lines
<?xml version='1.0' encoding="windows-1250" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:choose>
<xsl:when test="/report/node">
<table width="100%" cellspacing="0" cellpadding="1">
<tbody>
<xsl:apply-templates select="/report/node" order-by="proplist/prop[kind='Druh']/value" />
</tbody>
</table>
</xsl:when>
<xsl:otherwise>
Nenφ vybrßn ₧ßdn² objekt.
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="nodelist">
<table width="100%" cellspacing="0" cellpadding="1">
<tbody>
<xsl:apply-templates select="node" order-by="proplist/prop[kind='Druh']/value" />
</tbody>
</table>
</xsl:template>
<xsl:template match="prop">
<tr>
<td>
<xsl:choose>
<xsl:when expr="g_BoldProp">
<b><xsl:value-of select="kind"/>:</b> <xsl:value-of select="value"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="kind"/>: <xsl:value-of select="value"/>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:template>
<xsl:template match="node">
<tr>
<td align="right" valign="top">
<xsl:choose>
<xsl:when test="nodelist/node">
<img id="toggle" onclick="ToggleNextRow(this)" style="cursor:hand"
alt="zobrazit/skr²t podobjekty"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="top" width="100%">
<xsl:choose>
<xsl:when test="proplist/prop[own='1' and not(special) and not(objectname)]">
<table cellspacing="0" cellpadding="0" bgcolor="#F0F0F0"><tbody>
<tr>
<td>
<b><xsl:value-of select="proplist/prop[kind='Druh']/value"/>:
<xsl:value-of select="name"/></b>
</td>
<td align="right" valign="bottom">
<img id="toggleprop" onclick="ToggleProp(this)"
style="cursor:hand" alt="zobrazit/skr²t vlastnosti"/>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<table width="100%" cellspacing="0" cellpadding="0"><tbody>
<xsl:for-each select="proplist/prop[own='1' and not(special) and not(objectname)]" order-by="kind">
<xsl:apply-templates select="."/>
</xsl:for-each>
</tbody></table>
</td>
</tr>
</tbody></table>
</xsl:when>
<xsl:otherwise>
<table cellspacing="0" cellpadding="0"><tbody>
<tr>
<td>
<b><xsl:value-of select="proplist/prop[kind='Druh']/value"/>:
<xsl:value-of select="name"/></b>
</td>
</tr>
</tbody></table>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<xsl:if test="nodelist/node">
<tr>
<td> </td>
<td>
<xsl:apply-templates select="nodelist"/>
</td>
</tr>
</xsl:if>
</xsl:template>
<xsl:script><![CDATA[
var g_BoldProp=false;
]]></xsl:script>
</xsl:stylesheet>