lenya/src/webapp/lenya/pubs/default/xslt page2xhtml.xsl,1.5,1.6 simple-authoring.xsl,1.1,1.2 simple-live.xsl,1.1,1.2 xhtml-authoring.xsl,1.1,1.2
Andreas Hartmann <[email protected]> Mon, 12 May 2003 18:17:05 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/default/xslt
In directory erbium:/tmp/cvs-serv22281/src/webapp/lenya/pubs/default/xslt
Modified Files:
page2xhtml.xsl simple-authoring.xsl simple-live.xsl
xhtml-authoring.xsl
Log Message:
- changed page2xhtml to work with /lenya/cmsbody
- replaced stylesheet inclusion by pipeline step
Index: page2xhtml.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** page2xhtml.xsl 10 May 2003 15:43:25 -0000 1.5
--- page2xhtml.xsl 12 May 2003 16:17:03 -0000 1.6
***************
*** 20,23 ****
--- 20,24 ----
<xsl:template match="cmsbody">
+ <xsl:copy>
<html>
<head>
***************
*** 28,39 ****
<img src="{$root}/images/project-logo.gif"/>
</div>
! <xsl:apply-templates select="/page:page/xhtml:div[@id = 'tabs']"/>
! <xsl:apply-templates select="/page:page/xhtml:div[@id = 'menu']"/>
<div id="main">
! <xsl:apply-templates select="/page:page/xhtml:div[@id = 'breadcrumb']"/>
! <xsl:apply-templates select="/page:page/xhtml:div[@id = 'body']"/>
</div>
</body>
</html>
</xsl:template>
--- 29,41 ----
<img src="{$root}/images/project-logo.gif"/>
</div>
! <xsl:apply-templates select="xhtml:div[@id = 'tabs']"/>
! <xsl:apply-templates select="xhtml:div[@id = 'menu']"/>
<div id="main">
! <xsl:apply-templates select="xhtml:div[@id = 'breadcrumb']"/>
! <xsl:apply-templates select="xhtml:div[@id = 'body']"/>
</div>
</body>
</html>
+ </xsl:copy>
</xsl:template>
Index: simple-authoring.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/simple-authoring.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** simple-authoring.xsl 12 May 2003 11:46:39 -0000 1.1
--- simple-authoring.xsl 12 May 2003 16:17:03 -0000 1.2
***************
*** 1,9 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
!
! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
!
! <xsl:include href="../../../xslt/menu/root.xsl"/>
!
! <xsl:import href="page2xhtml.xsl"/>
!
! </xsl:stylesheet>
--- 1 ----
! <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="../../../xslt/menu/root.xsl"/>
<xsl:template match="cmsbody">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Index: simple-live.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/simple-live.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** simple-live.xsl 12 May 2003 11:46:39 -0000 1.1
--- simple-live.xsl 12 May 2003 16:17:03 -0000 1.2
***************
*** 1,9 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
!
! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
!
! <xsl:include href="../../../xslt/menu/live-root.xsl"/>
!
! <xsl:import href="page2xhtml.xsl"/>
!
! </xsl:stylesheet>
--- 1 ----
! <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="../../../xslt/menu/live-root.xsl"/>
<xsl:template match="cmsbody">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Index: xhtml-authoring.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/xhtml-authoring.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xhtml-authoring.xsl 12 May 2003 11:46:39 -0000 1.1
--- xhtml-authoring.xsl 12 May 2003 16:17:03 -0000 1.2
***************
*** 1,9 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
!
! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
!
! <xsl:include href="../../../xslt/menu/root.xsl"/>
!
! <xsl:import href="xhtml2xhtml.xsl"/>
!
! </xsl:stylesheet>
--- 1 ----
! <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="../../../xslt/menu/root.xsl"/>
<xsl:template match="cmsbody">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file