[Yanel-commits] rev 22414 - public/yanel/trunk/src/webapp/xslt
michi at wyona.com
michi at wyona.com
Sat Feb 3 23:34:21 CET 2007
Author: michi
Date: 2007-02-03 23:34:19 +0100 (Sat, 03 Feb 2007)
New Revision: 22414
Modified:
public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
Log:
resource configuration fixed
Modified: public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2007-02-03 21:14:47 UTC (rev 22413)
+++ public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2007-02-03 22:34:19 UTC (rev 22414)
@@ -64,9 +64,12 @@
<xsl:apply-templates select="child::node()/yanel:request"/>
<xsl:apply-templates select="child::node()/session"/>
+
+<!-- OBSOLETE
<xsl:apply-templates select="child::node()/resource-type-identifier"/>
<xsl:apply-templates select="child::node()/no-resource-type-identifier"/>
- <xsl:apply-templates select="child::node()/resource"/>
+-->
+ <xsl:apply-templates select="/yanel:yanel/resource"/>
<xsl:apply-templates select="child::node()/revisions"/>
</body>
</html>
@@ -94,6 +97,7 @@
</p>
</xsl:template>
+<!-- OBSOLETE
<xsl:template match="resource-type-identifier">
<p>
<h4> Resource Type Identifier:</h4>
@@ -103,6 +107,7 @@
</ul>
</p>
</xsl:template>
+-->
<xsl:template match="resource">
<p>
@@ -113,6 +118,14 @@
</p>
</xsl:template>
+ <xsl:template match="yanel:config">
+ <li>Configuration: <xsl:value-of select="@yanel:rti-name"/> (<xsl:value-of select="@yanel:rti-namespace"/>)</li>
+ </xsl:template>
+
+ <xsl:template match="yanel:no-config">
+ <li>No Configuration!</li>
+ </xsl:template>
+
<xsl:template match="not-viewable">
<li>Resource is not viewable: <xsl:apply-templates/></li>
</xsl:template>
@@ -158,6 +171,7 @@
</li>
</xsl:template>
+<!-- OBSOLETE
<xsl:template match="no-resource-type-identifier">
<p>
<h4>No Resource Type Identifier:</h4>
@@ -166,6 +180,7 @@
</ul>
</p>
</xsl:template>
+-->
<xsl:template match="yanel:exception">
<p>
More information about the Yanel-commits
mailing list