VirtualBox

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

Last change on this file since 26600 was 23280, checked in by vboxsync, 15 years ago

Main: avoid full recompile if only comments in VirtualBox.xidl are changed

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 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 Sun Microsystems, Inc.
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 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
23 Clara, CA 95054 USA or visit http://www.sun.com if you need
24 additional information or have any questions.
25-->
26
27<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
28<xsl:output method="xml" indent="yes"/>
29
30<!-- copy everything unless there's a more specific template -->
31<xsl:template match="@*|node()">
32 <xsl:copy>
33 <xsl:apply-templates select="@*|node()"/>
34 </xsl:copy>
35</xsl:template>
36
37<!-- swallow desc -->
38<xsl:template match="desc" />
39
40<!-- swallow all comments -->
41<xsl:template match="comment()" />
42
43</xsl:stylesheet>
44
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