You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/10/06 18:38:14 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/lenya/xslt/formeditor xhtml.xsl

michi       2003/10/06 09:38:14

  Added:       src/webapp/lenya/pubs/default/lenya/xslt/formeditor
                        xhtml.xsl
  Log:
  xhtml doctype added
  
  Revision  Changes    Path
  1.1                  cocoon-lenya/src/webapp/lenya/pubs/default/lenya/xslt/formeditor/xhtml.xsl
  
  Index: xhtml.xsl
  ===================================================================
  <?xml version="1.0" encoding="iso-8859-1"?>
  
  <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  >
  
  <xsl:import href="../../../../../xslt/authoring/edit/form.xsl"/>
  
  <xsl:template match="xhtml:html" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <tr>
    <td colspan="3">Dublin Core</td>
  </tr>
  <tr>
    <td>&#160;</td>
    <td>Title</td>
    <td><input type="text" name="&lt;xupdate:update select=&quot;/xhtml:html/lenya:meta/dc:title[@tagID='{lenya:meta/dc:title/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="lenya:meta/dc:title" /></xsl:attribute></input></td>
  </tr>
  <tr>
    <td>&#160;</td>
    <td>Description</td>
    <td><input type="text" name="&lt;xupdate:update select=&quot;/xhtml:html/lenya:meta/dc:description[@tagID='{lenya:meta/dc:description/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="lenya:meta/dc:description" /></xsl:attribute></input></td>
  </tr>
  
  <tr>
    <td colspan="3">XHTML</td>
  </tr>
  <tr>
    <td>&#160;</td>
    <td>Title</td>
    <td><input type="text" name="&lt;xupdate:update select=&quot;/xhtml:html/xhtml:head/xhtml:title[@tagID='{xhtml:head/xhtml:title/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="xhtml:head/xhtml:title" /></xsl:attribute></input></td>
  </tr>
  <!--
  <tr>
    <td>&#160;</td>
    <td>H1 Title</td>
    <td><input type="text" name="&lt;xupdate:update select=&quot;/xhtml:html/xhtml:body/xhtml:h1[@tagID='{xhtml:body/xhtml:h1/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="xhtml:body/xhtml:h1" /></xsl:attribute></input></td>
  </tr>
  -->
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org