1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | usage-to-docbook-manual.xsl:
|
---|
4 | XSLT stylesheet that generates docbook command usage xml.
|
---|
5 |
|
---|
6 | Copyright (C) 2006-2015 Oracle Corporation
|
---|
7 |
|
---|
8 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | available from http://www.alldomusa.eu.org. This file is free software;
|
---|
10 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | General Public License (GPL) as published by the Free Software
|
---|
12 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | -->
|
---|
16 |
|
---|
17 | <xsl:stylesheet
|
---|
18 | version="1.0"
|
---|
19 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
20 |
|
---|
21 | <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>
|
---|
22 | <xsl:strip-space elements="*"/>
|
---|
23 |
|
---|
24 | <!-- - - - - - - - - - - - - - - - - - - - - - -
|
---|
25 | global XSLT variables
|
---|
26 | - - - - - - - - - - - - - - - - - - - - - - -->
|
---|
27 |
|
---|
28 |
|
---|
29 |
|
---|
30 | <!-- - - - - - - - - - - - - - - - - - - - - - -
|
---|
31 | base operation is to copy.
|
---|
32 | - - - - - - - - - - - - - - - - - - - - - - -->
|
---|
33 |
|
---|
34 | <xsl:template match="node()|@*">
|
---|
35 | <xsl:copy>
|
---|
36 | <xsl:apply-templates select="node()|@*"/>
|
---|
37 | </xsl:copy>
|
---|
38 | </xsl:template>
|
---|
39 |
|
---|
40 |
|
---|
41 | <!-- - - - - - - - - - - - - - - - - - - - - - -
|
---|
42 | deal with non-docbook elements.
|
---|
43 | - - - - - - - - - - - - - - - - - - - - - - -->
|
---|
44 |
|
---|
45 | <xsl:template match="brief">
|
---|
46 | <!-- strip this element -->
|
---|
47 | </xsl:template>
|
---|
48 |
|
---|
49 |
|
---|
50 | </xsl:stylesheet>
|
---|
51 |
|
---|