experimental
Last change
on this file since 8ba8df4 was 3d7b0564, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago |
XSL clean-up.
|
-
Property mode
set to
100644
|
File size:
886 bytes
|
Rev | Line | |
---|
[0170229] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
[c940100] | 3 | <!-- $Id$ -->
|
---|
[3d7b0564] | 4 | <!-- Get list of patches from the HLFS Book -->
|
---|
[0170229] | 5 |
|
---|
| 6 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 7 | version="1.0">
|
---|
| 8 |
|
---|
| 9 | <xsl:output method="text"/>
|
---|
| 10 |
|
---|
[c940100] | 11 | <!-- What libc implentation must be used? -->
|
---|
| 12 | <xsl:param name="model" select="glibc"/>
|
---|
| 13 |
|
---|
[0170229] | 14 | <!-- No text needed -->
|
---|
| 15 | <xsl:template match="//text()">
|
---|
| 16 | <xsl:text/>
|
---|
| 17 | </xsl:template>
|
---|
| 18 |
|
---|
[3d7b0564] | 19 | <!-- Just grab the url from the patches.xml file. Skip possible
|
---|
| 20 | duplicated URLs due that may be splitted for PDF output -->
|
---|
[0170229] | 21 | <xsl:template match="//ulink">
|
---|
[3d7b0564] | 22 | <xsl:if test="(ancestor::varlistentry[@condition=$model]
|
---|
| 23 | or not(ancestor::varlistentry[@condition]))
|
---|
| 24 | and not(ancestor-or-self::*/@condition = 'pdf')">
|
---|
[0170229] | 25 | <xsl:value-of select="@url"/>
|
---|
| 26 | <xsl:text>
</xsl:text>
|
---|
| 27 | </xsl:if>
|
---|
| 28 | </xsl:template>
|
---|
| 29 |
|
---|
| 30 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.