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/03 15:42:40 UTC

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

michi       2003/10/03 06:42:40

  Modified:    src/webapp/lenya/pubs/default/xslt simple2xhtml.xsl
  Log:
  DC Title added
  
  Revision  Changes    Path
  1.10      +2 -1      cocoon-lenya/src/webapp/lenya/pubs/default/xslt/simple2xhtml.xsl
  
  Index: simple2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/xslt/simple2xhtml.xsl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- simple2xhtml.xsl	23 Jul 2003 14:28:20 -0000	1.9
  +++ simple2xhtml.xsl	3 Oct 2003 13:42:40 -0000	1.10
  @@ -13,6 +13,7 @@
       xmlns="http://www.w3.org/1999/xhtml"
       xmlns:simple="http://apache.org/cocoon/lenya/doctypes/simple-document/1.0"
       xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
  +    xmlns:dc="http://purl.org/dc/elements/1.1/"
       exclude-result-prefixes="simple lenya"
       >
   
  @@ -21,7 +22,7 @@
           
   <xsl:template match="/">
     <div id="body">
  -    <xsl:apply-templates select="simple:simple-document/lenya:header/lenya:document-title"/>
  +    <h1><xsl:apply-templates select="simple:simple-document/lenya:meta/dc:title"/></h1>
       <xsl:apply-templates select="simple:simple-document/simple:body/simple:subtitle"/>
       <xsl:apply-templates select="simple:simple-document/lenya:header/lenya:abstract"/>
       <xsl:apply-templates select="simple:simple-document/simple:body/*[local-name() != 'subtitle']"/>
  
  
  

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