VirtualBox

source: vbox/trunk/src/VBox/Main/idl/docstrip.xsl@ 31312

Last change on this file since 31312 was 29200, checked in by vboxsync, 15 years ago

more manual Oracle rebranding in headers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2
3<!--
4 Copies the source XIDL file to the output, except that all <desc>
5 tags are stripped in the process. This is to generate a copy
6 of VirtualBox.xidl which is then used as a source for generating
7 the COM/XPCOM headers, the webservice files, the Qt bindings and
8 others. The idea is that updating the documentation tags in the
9 original XIDL should not cause a full recompile of nearly all of
10 VirtualBox.
11
12 Copyright (C) 2009-2010 Oracle Corporation
13
14 This file is part of VirtualBox Open Source Edition (OSE), as
15 available from http://www.virtualbox.org. This file is free software;
16 you can redistribute it and/or modify it under the terms of the GNU
17 General Public License (GPL) as published by the Free Software
18 Foundation, in version 2 as it comes in the "COPYING" file of the
19 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
20 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
21-->
22
23<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
24<xsl:output method="xml" indent="yes"/>
25
26<!-- copy everything unless there's a more specific template -->
27<xsl:template match="@*|node()">
28 <xsl:copy>
29 <xsl:apply-templates select="@*|node()"/>
30 </xsl:copy>
31</xsl:template>
32
33<!-- swallow desc -->
34<xsl:template match="desc" />
35
36<!-- swallow all comments -->
37<xsl:template match="comment()" />
38
39</xsl:stylesheet>
40
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette