lenya/src/webapp/lenya/pubs/default/xslt/authoring bitflux2simple.xsl,1.4,1.5 xopus2-simple.xsl,1.4,1.5

"Gregor J. Rothfuss" <[email protected]> Mon, 19 May 2003 15:59:43 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya/pubs/default/xslt/authoring
In directory erbium:/tmp/cvs-serv30476/src/webapp/lenya/pubs/default/xslt/authoring

Modified Files:
	bitflux2simple.xsl xopus2-simple.xsl 
Log Message:
xopus does not seem to support xsl:import. replaced by xsl:include

xopus and bitflux now load.

Index: bitflux2simple.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/authoring/bitflux2simple.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** bitflux2simple.xsl	19 May 2003 08:20:07 -0000	1.4
--- bitflux2simple.xsl	19 May 2003 13:59:40 -0000	1.5
***************
*** 2,22 ****
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
! <xsl:template match="/">
  <html>
  <head>
- <title>bla</title>
  </head>
!   	<xsl:apply-templates select="/*[local-name()='body']"/>
  </html>
  </xsl:template>
  
!   <xsl:template match="/*[local-name()='body']">
      <body contentEditable="true">
!       <xsl:for-each select=".">
          <xsl:apply-templates/>
        </xsl:for-each>
      </body>
     </xsl:template>
- 
  
  <!-- Copies everything else to the result tree -->
--- 2,20 ----
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
! <xsl:template match="/*[local-name()='simple-document']">
  <html>
  <head>
  </head>
!   	<xsl:apply-templates select="*[local-name()='body']"/>
  </html>
  </xsl:template>
  
!   <xsl:template match="*[local-name()='body']">
      <body contentEditable="true">
!       <xsl:for-each select="*[local-name()='body']">
          <xsl:apply-templates/>
        </xsl:for-each>
      </body>
     </xsl:template>
  
  <!-- Copies everything else to the result tree -->

Index: xopus2-simple.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/authoring/xopus2-simple.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** xopus2-simple.xsl	14 May 2003 12:55:37 -0000	1.4
--- xopus2-simple.xsl	19 May 2003 13:59:40 -0000	1.5
***************
*** 18,33 ****
  </p>
  <xml>
- <!--
- 	<pipeline xml="/lenya.xml" xsd="/matrix.xsd">
- -->
  	<pipeline xml="/{$articleid}.xml" xsd="/simple-document.xsd">
  			<view id="defaultView" default="true">
! 				<transform xsl="/tree.xsl"></transform>
! <!--
! 				<transform xsl="/body_xopus.xsl"></transform>
! -->
! <!--
! 				<transform xsl="/simple2html.xsl"></transform>
! -->
  			</view>
  			<view id="treeView">
--- 18,25 ----
  </p>
  <xml>
  	<pipeline xml="/{$articleid}.xml" xsd="/simple-document.xsd">
  			<view id="defaultView" default="true">
! 
! 				<transform xsl="/simple2xhtml.xsl"></transform>
  			</view>
  			<view id="treeView">