Author: josch
Date: Wed Dec 21 04:51:17 2005
New Revision: 358278
URL: http://svn.apache.org/viewcvs?rev=358278&view=rev
Log:
pass class on to <code> and <note>, e.g. from sdocbook-plugin
Modified:
forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/document2html.xsl
Modified:
forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/document2html.xsl
URL:
http://svn.apache.org/viewcvs/forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/document2html.xsl?rev=358278&r1=358277&r2=358278&view=diff
==============================================================================
---
forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/document2html.xsl
(original)
+++
forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/document2html.xsl
Wed Dec 21 04:51:17 2005
@@ -137,7 +137,8 @@
<xsl:template match="note | warning | fixme">
<xsl:apply-templates select="@id"/>
- <div class="{local-name()}">
+ <div class="[EMAIL PROTECTED]">
+ <div class="frame {local-name()}">
<div class="label">
<xsl:choose>
<!-- FIXME: i18n Transformer here -->
@@ -151,6 +152,7 @@
<xsl:apply-templates/>
</div>
</div>
+ </div>
</xsl:template>
<xsl:template match="notice">
@@ -227,7 +229,7 @@
<xsl:template match="code">
<xsl:apply-templates select="@id"/>
- <span class="codefrag">
+ <span class="codefrag [EMAIL PROTECTED]">
<xsl:copy-of select="@id"/>
<xsl:value-of select="."/>
</span>