Annotation of kupu/apache-lenya/lenya/page2kupu.xsl, revision 1.1
1.1 ! dwinter 1: <?xml version="1.0" encoding="UTF-8" ?>
! 2:
! 3: <!--
! 4: Transforms page to be edited by Kupu wysiwyg xhtml editor.
! 5: Here the link to css etc. is inserted and marked(see lenyacontent attribute)
! 6: to be remved when saved.
! 7: -->
! 8:
! 9: <xsl:stylesheet version="1.0"
! 10: xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
! 11: xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
! 12: xmlns:xhtml="http://www.w3.org/1999/xhtml"
! 13: xmlns="http://www.w3.org/1999/xhtml"
! 14: >
! 15:
! 16: <xsl:param name="css"/>
! 17:
! 18:
! 19: <xsl:template match="lenya:meta"/>
! 20:
! 21:
! 22: <xsl:template match="xhtml:head">
! 23: <head>
! 24: <xsl:copy-of select="*"/>
! 25: <link rel="stylesheet" href="{$css}" mime-type="text/css"/>
! 26: </head>
! 27: </xsl:template>
! 28:
! 29:
! 30:
! 31: <xsl:template match="@*|node()">
! 32: <xsl:copy>
! 33: <xsl:apply-templates select="@*|node()"/>
! 34: </xsl:copy>
! 35: </xsl:template>
! 36:
! 37:
! 38: </xsl:stylesheet>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>