44 |
<xsl:call-template name="output_link_tag"/> |
<xsl:call-template name="output_link_tag"/> |
45 |
</xsl:template> |
</xsl:template> |
46 |
|
|
47 |
|
<xsl:template mode="pre" match="*"> |
48 |
|
<xsl:choose> |
49 |
|
<xsl:when test="'pre'=local-name(.)"> |
50 |
|
<xsl:apply-templates mode="pre"/> |
51 |
|
</xsl:when> |
52 |
|
<xsl:otherwise> |
53 |
|
<xsl:copy-of select="."/> |
54 |
|
</xsl:otherwise> |
55 |
|
</xsl:choose> |
56 |
|
</xsl:template> |
57 |
|
|
58 |
|
<xsl:template mode="pre" match="text()[position()=last()]"> |
59 |
|
<xsl:call-template name="strip_trailing_ws"> |
60 |
|
<xsl:with-param name="p_content" select="."/> |
61 |
|
</xsl:call-template> |
62 |
|
</xsl:template> |
63 |
|
|
64 |
<xsl:template name="strip_trailing_ws"> |
<xsl:template name="strip_trailing_ws"> |
65 |
<xsl:param name="p_content"/> |
<xsl:param name="p_content"/> |
66 |
|
|
67 |
<xsl:if test="normalize-space($p_content)!=''"> |
<xsl:if test="normalize-space($p_content)!=''"> |
68 |
<xsl:choose> |
<xsl:choose> |
69 |
<xsl:when test="normalize-space(substring($p_content, string-length($p_content), 1))=''"> |
<xsl:when test="normalize-space(substring($p_content, string-length($p_content), 1))=''"> |
70 |
<xsl:call-template name="strip_trailing_ws"> |
<xsl:call-template name="strip_trailing_ws"> |
71 |
<xsl:with-param name="p_content"> |
<xsl:with-param name="p_content"> |
72 |
<xsl:value-of select="substring($p_content, 0, string-length($p_content)-1)"/> |
<xsl:value-of select="substring($p_content, 1, string-length($p_content)-1)"/> |
73 |
</xsl:with-param> |
</xsl:with-param> |
74 |
</xsl:call-template> |
</xsl:call-template> |
75 |
</xsl:when> |
</xsl:when> |
76 |
<xsl:otherwise> |
<xsl:otherwise> |
77 |
<xsl:value-of select="$p_content"/> |
<xsl:copy-of select="$p_content"/> |
78 |
</xsl:otherwise> |
</xsl:otherwise> |
79 |
</xsl:choose> |
</xsl:choose> |
80 |
</xsl:if> |
</xsl:if> |
89 |
</xsl:for-each> |
</xsl:for-each> |
90 |
<xsl:choose> |
<xsl:choose> |
91 |
<xsl:when test="name()='pre'"> |
<xsl:when test="name()='pre'"> |
92 |
<xsl:call-template name="strip_trailing_ws"> |
<xsl:apply-templates select="." mode="pre"/> |
|
<xsl:with-param name="p_content"> |
|
|
<xsl:apply-templates/> |
|
|
</xsl:with-param> |
|
|
</xsl:call-template> |
|
93 |
</xsl:when> |
</xsl:when> |
94 |
<xsl:otherwise> |
<xsl:otherwise> |
95 |
<xsl:apply-templates/> |
<xsl:apply-templates/> |
117 |
|
|
118 |
<html> |
<html> |
119 |
<head> |
<head> |
|
<xsl:call-template name="include_common"/> |
|
120 |
<xsl:call-template name="output_title"> |
<xsl:call-template name="output_title"> |
121 |
<xsl:with-param name="p_pagetitle" select="@name"/> |
<xsl:with-param name="p_pagetitle" select="@name"/> |
122 |
</xsl:call-template> |
</xsl:call-template> |
123 |
|
<xsl:call-template name="include_common"/> |
124 |
</head> |
</head> |
125 |
<body class="classdoc" onload="top.contentPageLoaded();"> |
<body class="classdoc" onload="top.contentPageLoaded(document.title);"> |
126 |
|
|
127 |
<div class="pagebody"> |
<div class="pagebody"> |
128 |
|
|