You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/02/23 01:48:06 UTC
svn commit: r380006 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl
Author: thorsten
Date: Wed Feb 22 16:48:04 2006
New Revision: 380006
URL: http://svn.apache.org/viewcvs?rev=380006&view=rev
Log:
formating changes
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl?rev=380006&r1=380005&r2=380006&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher-html.xsl Wed Feb 22 16:48:04 2006
@@ -15,7 +15,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet version="1.0"
xmlns:forrest="http://apache.org/forrest/templates/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -27,19 +26,22 @@
<xsl:if test="@type='block' or not(@type)">
<div>
<xsl:call-template name="attributes"/>
- <xsl:if test="@nbsp='true'"><xsl:text> </xsl:text></xsl:if>
- <xsl:apply-templates/>
+ <xsl:if test="@nbsp='true'">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
</div>
</xsl:if>
<xsl:if test="@type='inline'">
<span id="{@name}">
<xsl:call-template name="attributes"/>
- <xsl:if test="@nbsp='true'"><xsl:text> </xsl:text></xsl:if>
- <xsl:apply-templates/>
+ <xsl:if test="@nbsp='true'">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates/>
</span>
</xsl:if>
</xsl:template>
-
<xsl:template name="attributes">
<xsl:if test="@name">
<xsl:attribute name="id">
@@ -52,11 +54,10 @@
</xsl:attribute>
</xsl:if>
</xsl:template>
-
<xsl:template match="@*|*|text()|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates
select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
</xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file