summaryrefslogtreecommitdiff
path: root/readlicense_oo
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-09-30 18:04:12 +0200
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-09-30 18:04:12 +0200
commit9f5745c1bca373fa6ea1c8daa57cd01f50b20968 (patch)
tree1a73417b2514a8280259d588383574f45ef10420 /readlicense_oo
parent61879c218dd0e6e94884e7c6e06e3c5c18540b4a (diff)
obo56: #163781# BuildAllDimensionMembers: from external source, after adding dimensions
obo56: #163805# Authors: Niklas Nebel <nn@openoffice.org> User Frank Peters <fpe@openoffice.org>
Diffstat (limited to 'readlicense_oo')
-rwxr-xr-x[-rw-r--r--]readlicense_oo/docs/readme.xsl58
1 files changed, 28 insertions, 30 deletions
diff --git a/readlicense_oo/docs/readme.xsl b/readlicense_oo/docs/readme.xsl
index 4e77fa522c3d..e63e319cf502 100644..100755
--- a/readlicense_oo/docs/readme.xsl
+++ b/readlicense_oo/docs/readme.xsl
@@ -34,6 +34,13 @@
</xsl:if>
</xsl:param>
+ <xsl:param name="lf">
+ <xsl:choose>
+ <xsl:when test="$platform='WIN'"><xsl:text>&#xD;&#xA;</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>&#xA;</xsl:text></xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$type='html'">
@@ -115,59 +122,50 @@
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.)='li'">
- <xsl:text>
-</xsl:text>* <xsl:apply-templates/>
+ <xsl:value-of select="$lf"/>* <xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.)='ul'">
- <xsl:text>
-</xsl:text>
+ <xsl:value-of select="$lf"/>
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.)='ol'">
- <xsl:text>
-</xsl:text>
+ <xsl:value-of select="$lf"/>
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.)='p'">
<xsl:if test="(not(name(..)='li') and (count(a) = 0))">
- <xsl:text>
-
-</xsl:text>
+ <xsl:value-of select="$lf"/>
+ <xsl:value-of select="$lf"/>
</xsl:if>
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.)='h1'">
- <xsl:text>
-
-======================================================================
-</xsl:text>
+ <xsl:value-of select="$lf"/>
+ <xsl:text>======================================================================</xsl:text>
+ <xsl:value-of select="$lf"/>
<xsl:apply-templates/>
- <xsl:text>
-======================================================================</xsl:text>
+ <xsl:value-of select="$lf"/>
+ <xsl:text>======================================================================</xsl:text>
+ <xsl:value-of select="$lf"/>
</xsl:when>
<xsl:when test="name(.)='h2'">
- <xsl:text>
-
-----------------------------------------------------------------------
-</xsl:text>
+ <xsl:value-of select="$lf"/>
+ <xsl:value-of select="$lf"/>
+ <xsl:text>----------------------------------------------------------------------</xsl:text>
+ <xsl:value-of select="$lf"/>
<xsl:apply-templates/>
- <xsl:text>
-----------------------------------------------------------------------</xsl:text>
-
+ <xsl:value-of select="$lf"/>
+ <xsl:text>----------------------------------------------------------------------</xsl:text>
</xsl:when>
<xsl:when test="name(.)='h3'">
- <xsl:text>
-
-</xsl:text>
+ <xsl:value-of select="$lf"/>
+ <xsl:value-of select="$lf"/>
<xsl:apply-templates/>
- <xsl:text>
-----------------------------------------------------------------------</xsl:text>
-
+ <xsl:value-of select="$lf"/>
+ <xsl:text>----------------------------------------------------------------------</xsl:text>
</xsl:when>
</xsl:choose>
</xsl:if>
</xsl:template>
-
-
</xsl:stylesheet>