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 2005/08/03 14:17:27 UTC
svn commit: r227205 -
/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl
Author: michi
Date: Wed Aug 3 05:17:24 2005
New Revision: 227205
URL: http://svn.apache.org/viewcvs?rev=227205&view=rev
Log:
xml-stylesheet type hardcoding removed
Modified:
lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl
Modified: lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl?rev=227205&r1=227204&r2=227205&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/menu/menu2xsltwithxul.xsl Wed Aug 3 05:17:24 2005
@@ -51,9 +51,12 @@
<xsl:if test="$area != 'live'">
<xso:template match="/">
- <!--xso:processing-instruction name="xml-stylesheet">
+<!--
+ <xso:processing-instruction name="xml-stylesheet">
href="chrome://global/skin/" type="text/css"
- </xso:processing-instruction-->
+ </xso:processing-instruction>
+-->
+
<xso:processing-instruction name="xml-stylesheet">
href="<xsl:value-of select="$contextprefix"/>/lenya/css/xulmenu.css" type="text/css"
</xso:processing-instruction>
@@ -86,9 +89,11 @@
</xul:window>
</xso:template>
+ <!-- TODO: I think only type="text/css" should be transformed into xml-stylesheet ... -->
+ <!-- TODO: Copy all attributes! -->
<xso:template match="xhtml:link">
<xso:processing-instruction name="xml-stylesheet">
- href="<xso:value-of select="@href"/>" type="text/css"
+ href="<xso:value-of select="@href"/>" type="<xso:value-of select="@type"/>"
</xso:processing-instruction>
</xso:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org