summaryrefslogtreecommitdiff
path: root/bug/bug.xsl
blob: 8018e3e1e6b3975bd740c756e6d8e423fbba0285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="html"
              encoding="UTF-8"
              doctype-public="-//W3C//DTD HTML 4.01//EN"
              doctype-system="http://www.w3.org/TR/html4/strict.dtd"
              indent="yes" />

  <xsl:param name="serial">0</xsl:param>

  <xsl:template match="/html/body">
    <body>
      <xsl:comment>
	DO NOT MODIFY THIS DOCUMENT. IT WAS GENERATED BY XSLT PROCESSING
	AND YOUR MODIFICATIONS WILL BE LOST. THE SOURCE OF THE DOCUMENT
	IS IN THE bug.xhtml FILE FOUND AT
        git clone git://anongit.freedesktop.org/libreoffice/website libreoffice
      </xsl:comment>
      <xsl:apply-templates select="node()"/>
    </body>
  </xsl:template>
  
  <xsl:template match="/html/head/script/@src">
    <xsl:attribute name="src"><xsl:value-of select='concat(.,"?",$serial)'></xsl:value-of></xsl:attribute>
  </xsl:template>

  <xsl:template match="/html/head/link/@href">
    <xsl:attribute name="href"><xsl:value-of select='concat(.,"?",$serial)'></xsl:value-of></xsl:attribute>
  </xsl:template>

  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>

<!--
Local Variables: ***
mode: xml ***
End: ***
-->
</xsl:stylesheet>