You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2003/09/09 21:09:51 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/lenya/xslt/formeditor entry.xsl
gregor 2003/09/09 12:09:51
Modified: src/webapp/lenya/pubs/blog/lenya/xslt/formeditor entry.xsl
Log:
remove obsolete elements
Revision Changes Path
1.3 +1 -17 cocoon-lenya/src/webapp/lenya/pubs/blog/lenya/xslt/formeditor/entry.xsl
Index: entry.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/lenya/xslt/formeditor/entry.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- entry.xsl 3 Sep 2003 17:50:22 -0000 1.2
+++ entry.xsl 9 Sep 2003 19:09:51 -0000 1.3
@@ -2,7 +2,7 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:echo="http://example.com/newformat#"
+ xmlns:echo="http://purl.org/atom/ns#"
xmlns:ent="http://www.purl.org/NET/ENT/1.0/"
>
@@ -15,13 +15,6 @@
<td><input type="text" name="<xupdate:update select="/echo:entry/echo:title[@tagID='{echo:title/@tagID}']">" size="40"><xsl:attribute name="value"><xsl:value-of select="echo:title" /></xsl:attribute></input></td>
</tr>
-<xsl:if test="not(echo:subtitle)">
-<tr>
- <td><input type="image" src="/lenya/lenya/images/insert.gif" name="<xupdate:insert-after select="/echo:entry/echo:title[@tagID='{echo:title/@tagID}']"><xupdate:element name="echo:subtitle" namespace="http://example.com/newformat#">New subtitle</xupdate:element></xupdate:insert-after>" value="LENYA"/></td>
- <td colspan="2">Subtitle</td>
-</tr>
-</xsl:if>
-
<xsl:if test="not(echo:summary)">
<tr>
<td><input type="image" src="/lenya/lenya/images/insert.gif" name="<xupdate:insert-after select="/echo:entry/echo:title[@tagID='{echo:title/@tagID}']"><xupdate:element name="echo:summary" namespace="http://example.com/newformat#">New summary</xupdate:element></xupdate:insert-after>" value="LENYA"/></td>
@@ -29,21 +22,12 @@
</tr>
</xsl:if>
-<xsl:apply-templates select="echo:subtitle"/>
<xsl:apply-templates select="echo:summary"/>
<xsl:apply-templates select="echo:content"/>
<tr>
<td><input type="image" src="/lenya/lenya/images/insert.gif" name="<xupdate:append select="/echo:entry"><xupdate:element name="echo:content" namespace="http://example.com/newformat#"><xupdate:attribute name="type">text/plain</xupdate:attribute>New content</xupdate:element></xupdate:append>" value="LENYA"/></td>
<td colspan="2">Content (text/plain)</td>
-</tr>
-</xsl:template>
-
-<xsl:template match="echo:subtitle">
-<tr>
- <td><input type="image" src="/lenya/lenya/images/delete.gif" name="<xupdate:remove select="/echo:entry/echo:subtitle[@tagID='{@tagID}']"/>" value="true"/></td>
- <td>Subtitle</td>
- <td><input type="text" name="<xupdate:update select="/echo:entry/echo:subtitle[@tagID='{@tagID}']">" size="40"><xsl:attribute name="value"><xsl:value-of select="." /></xsl:attribute></input></td>
</tr>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org