lenya/src/webapp/lenya/xslt/util welcome.xsl,1.5,1.6
Michael Wechner <[email protected]> Mon, 19 May 2003 10:01:57 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/xslt/util
In directory erbium:/tmp/cvs-serv25324/src/webapp/lenya/xslt/util
Modified Files:
welcome.xsl
Log Message:
xslt for listing publications improved
Index: welcome.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/xslt/util/welcome.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** welcome.xsl 13 Mar 2003 14:18:01 -0000 1.5
--- welcome.xsl 19 May 2003 08:01:55 -0000 1.6
***************
*** 33,38 ****
<ol>
<xsl:for-each select="lenya:publication">
! <li><a href="{@pid}/introduction.html">
! <xsl:apply-templates select="lenya:publication/lenya:name"/></a></li>
</xsl:for-each>
</ol>
--- 33,52 ----
<ol>
<xsl:for-each select="lenya:publication">
! <xsl:choose>
! <xsl:when test="lenya:XPSEXCEPTION">
! <li><font color="red">Exception:</font> (publication id = <xsl:value-of select="@pid"/>) <xsl:value-of select="lenya:XPSEXCEPTION"/></li>
! </xsl:when>
! <xsl:otherwise>
! <xsl:choose>
! <xsl:when test="lenya:publication/@show = 'false'">
! <!-- do not list this publication. Might be a "template" publication -->
! </xsl:when>
! <xsl:otherwise>
! <li><a href="{@pid}/introduction.html">
! <xsl:apply-templates select="lenya:publication/lenya:name"/></a></li>
! </xsl:otherwise>
! </xsl:choose>
! </xsl:otherwise>
! </xsl:choose>
</xsl:for-each>
</ol>