lenya/src/webapp/lenya/pubs/default/xslt/authoring bitflux2simple.xsl,1.5,1.6

"Gregor J. Rothfuss" <[email protected]> Fri, 23 May 2003 11:49:45 +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-serv28651/src/webapp/lenya/pubs/default/xslt/authoring

Modified Files:
	bitflux2simple.xsl 
Log Message:
made bitflux work again
bitflux xslt dont need <html><head> and so on

Index: bitflux2simple.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/authoring/bitflux2simple.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** bitflux2simple.xsl	19 May 2003 13:59:40 -0000	1.5
--- bitflux2simple.xsl	23 May 2003 09:49:42 -0000	1.6
***************
*** 1,20 ****
! <?xml version="1.0" encoding="utf-8"?>
  <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 -->
--- 1,12 ----
! <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:template match="/*[local-name()='simple-document']">
      <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 -->
***************
*** 28,31 ****
    </xsl:template>
  
! </xsl:stylesheet>
! 
--- 20,22 ----
    </xsl:template>
  
! </xsl:stylesheet>
\ No newline at end of file