rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man3 / pdf / ogl_prep_xml.xsl
CommitLineData
7faf1d71
AW
1<?xml version='1.0'?>\r
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
3 xmlns:exsl="http://exslt.org/common"\r
4 xmlns:fo="http://www.w3.org/1999/XSL/Format"\r
5 xmlns:ng="http://docbook.org/docbook-ng"\r
6 xmlns:db="http://docbook.org/ns/docbook"\r
7 xmlns:mml="http://www.w3.org/1998/Math/MathML"\r
8 exclude-result-prefixes="db ng exsl"\r
9 version='1.0'>\r
10 \r
11 <!-- strip out the declaration from each file so that they can be -->\r
12 <!-- concatenated together into a single file -->\r
13\r
14 <xsl:output method="xml" omit-xml-declaration="yes"/>\r
15 \r
16 <!-- It is important to use indent="no" here, otherwise verbatim -->\r
17 <!-- environments get broken by indented tags...at least when the -->\r
18 <!-- callout extension is used...at least with some processors -->\r
19\r
20 <xsl:output method="xml" indent="no"/>\r
21\r
22 <!-- the identity transform -->\r
23 <xsl:template match="@*|node()">\r
24 <xsl:copy>\r
25 <xsl:apply-templates select="@*|node()"/>\r
26 </xsl:copy>\r
27 </xsl:template>\r
28\r
29 <!-- replace the mml construct infinity with the unicode equivalent -->\r
30 <xsl:template match="mml:infinity">\r
31 <mml:mn>&#x221e;</mml:mn>\r
32 </xsl:template>\r
33 \r
34 <!-- Strip out the section with the copyright as all copyrights -->\r
35 <!-- are at the front of the document -->\r
36 <xsl:template match="id('Copyright')">\r
37 </xsl:template>\r
38\r
39</xsl:stylesheet>\r