VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/platform-xidl.xsl@ 16120

最後變更 在這個檔案從16120是 16120,由 vboxsync 提交於 16 年 前

export webservices to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.6 KB
 
1<?xml version="1.0"?>
2
3<!--
4
5 platform-xidl.xsl:
6 XSLT stylesheet that generates a platform-specific
7 VirtualBox.xidl from ../idl/VirtualBox.xidl, which
8 is identical to the original except that all <if...>
9 sections are resolved (for easier processing).
10
11 Copyright (C) 2006-2008 Sun Microsystems, Inc.
12
13 Sun Microsystems, Inc. confidential
14 All rights reserved
15-->
16
17<xsl:stylesheet
18 version="1.0"
19 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
20
21<xsl:output
22 method="xml"
23 version="1.0"
24 encoding="utf-8"
25 indent="yes"/>
26
27<xsl:strip-space
28 elements="*" />
29
30<!--
31 template for "idl" match; this emits the header of the target file
32 and recurses into the librarys with interfaces (which are matched below)
33 -->
34<xsl:template match="/idl">
35 <xsl:comment>
36 DO NOT EDIT! This is a generated file.
37 Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
38 Generator: src/VBox/Main/webservice/platform-xidl.xsl
39</xsl:comment>
40
41 <idl>
42 <xsl:apply-templates />
43 </idl>
44
45</xsl:template>
46
47<!--
48 template for "if" match: ignore all ifs except those for wsdl
49 -->
50<xsl:template match="if">
51 <xsl:if test="@target='wsdl'">
52 <xsl:apply-templates/>
53 </xsl:if>
54</xsl:template>
55
56<!--
57 ignore everything we don't need
58 -->
59<xsl:template match="cpp|class|enumerator|desc|note">
60</xsl:template>
61
62<!--
63 and keep the rest intact (including all attributes)
64 -->
65<xsl:template match="library|module|enum|const|interface|attribute|collection|method|param">
66 <xsl:copy><xsl:copy-of select="@*"/><xsl:apply-templates/></xsl:copy>
67</xsl:template>
68
69
70</xsl:stylesheet>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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