Lines 87-92
Link Here
|
87 |
code {background-color:rgb(224,255,255);padding:0 0.1em;} |
87 |
code {background-color:rgb(224,255,255);padding:0 0.1em;} |
88 |
code.attributeName, code.propertyName {background-color:transparent;} |
88 |
code.attributeName, code.propertyName {background-color:transparent;} |
89 |
</style> |
89 |
</style> |
|
|
90 |
<style type="text/css"> |
91 |
.wrapped-source code { display: block; background-color: transparent; } |
92 |
.wrapped-source div { margin: 0 0 0 1.25em; } |
93 |
.wrapped-source p { margin: 0 0 0 1.25em; text-indent: -1.25em; } |
94 |
</style> |
90 |
</head> |
95 |
</head> |
91 |
|
96 |
|
92 |
<body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}" |
97 |
<body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}" |
Lines 326-334
Link Here
|
326 |
<td bgcolor="{$source-color}" width="1"> |
331 |
<td bgcolor="{$source-color}" width="1"> |
327 |
<img src="{$void}" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/> |
332 |
<img src="{$void}" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/> |
328 |
</td> |
333 |
</td> |
|
|
334 |
<xsl:choose> |
335 |
<xsl:when test="@wrapped='true'"> |
336 |
<td bgcolor="#ffffff" height="1"> |
337 |
<div class="wrapped-source"> |
338 |
<code> |
339 |
<xsl:apply-templates /> |
340 |
</code> |
341 |
</div> |
342 |
</td> |
343 |
</xsl:when> |
344 |
<xsl:otherwise> |
329 |
<td bgcolor="#ffffff" height="1"><pre> |
345 |
<td bgcolor="#ffffff" height="1"><pre> |
330 |
<xsl:value-of select="."/> |
346 |
<xsl:value-of select="."/> |
331 |
</pre></td> |
347 |
</pre></td> |
|
|
348 |
</xsl:otherwise> |
349 |
</xsl:choose> |
332 |
<td bgcolor="{$source-color}" width="1"> |
350 |
<td bgcolor="{$source-color}" width="1"> |
333 |
<img src="{$void}" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/> |
351 |
<img src="{$void}" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/> |
334 |
</td> |
352 |
</td> |
Lines 349-354
Link Here
|
349 |
</xsl:template> |
367 |
</xsl:template> |
350 |
|
368 |
|
351 |
|
369 |
|
|
|
370 |
<!-- Process a wrapped source code example - indent --> |
371 |
<xsl:template match="source//indent"> |
372 |
<div><xsl:apply-templates /></div> |
373 |
</xsl:template> |
374 |
|
375 |
|
376 |
<!-- Process a wrapped source code example - outdent --> |
377 |
<xsl:template match="source//outdent"> |
378 |
<p><xsl:apply-templates /></p> |
379 |
</xsl:template> |
380 |
|
381 |
|
352 |
<!-- Process an attributes list with nested attribute elements --> |
382 |
<!-- Process an attributes list with nested attribute elements --> |
353 |
<xsl:template match="attributes"> |
383 |
<xsl:template match="attributes"> |
354 |
<table border="1" cellpadding="5"> |
384 |
<table border="1" cellpadding="5"> |