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="&lt;xupdate:update select=&quot;/echo:entry/echo:title[@tagID='{echo:title/@tagID}']&quot;&gt;" 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="&lt;xupdate:insert-after select=&quot;/echo:entry/echo:title[@tagID='{echo:title/@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;echo:subtitle&quot; namespace=&quot;http://example.com/newformat#&quot;&gt;New subtitle&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;" 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="&lt;xupdate:insert-after select=&quot;/echo:entry/echo:title[@tagID='{echo:title/@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;echo:summary&quot; namespace=&quot;http://example.com/newformat#&quot;&gt;New summary&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;" 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="&lt;xupdate:append select=&quot;/echo:entry&quot;&gt;&lt;xupdate:element name=&quot;echo:content&quot; namespace=&quot;http://example.com/newformat#&quot;&gt;&lt;xupdate:attribute name=&quot;type&quot;&gt;text/plain&lt;/xupdate:attribute&gt;New content&lt;/xupdate:element&gt;&lt;/xupdate:append&gt;" 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="&lt;xupdate:remove select=&quot;/echo:entry/echo:subtitle[@tagID='{@tagID}']&quot;/&gt;" value="true"/></td>
  -  <td>Subtitle</td>
  -  <td><input type="text" name="&lt;xupdate:update select=&quot;/echo:entry/echo:subtitle[@tagID='{@tagID}']&quot;&gt;" 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