VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/websrv-nsmap.xsl@ 16120

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

export webservices to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.3 KB
 
1<?xml version="1.0"?>
2
3<!--
4
5 websrv-nsmap.xsl:
6 XSLT stylesheet that generates a vboxweb.nsmap file from
7 VirtualBox.xidl, which gets included from C++ client and
8 server code.
9
10 Copyright (C) 2006-2007 Sun Microsystems, Inc.
11
12 Sun Microsystems, Inc. confidential
13 All rights reserved
14-->
15
16<xsl:stylesheet
17 version="1.0"
18 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
19 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
20
21 <xsl:output method="text"/>
22
23 <xsl:strip-space elements="*"/>
24
25<!-- - - - - - - - - - - - - - - - - - - - - - -
26 global XSLT variables
27 - - - - - - - - - - - - - - - - - - - - - - -->
28
29<xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" />
30
31<xsl:include href="websrv-shared.inc.xsl" />
32
33<!-- - - - - - - - - - - - - - - - - - - - - - -
34 root match
35 - - - - - - - - - - - - - - - - - - - - - - -->
36
37<xsl:template match="/idl">
38 <xsl:text><![CDATA[
39/* DO NOT EDIT! This is a generated file.
40 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
41 * Generator: src/VBox/Main/webservice/websrv-nsmap.xsl */
42
43#include "soapH.h"
44SOAP_NMAC struct Namespace namespaces[] =
45{
46 {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
47 {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
48 {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
49 {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
50]]></xsl:text>
51
52 <xsl:value-of select="concat(' {&quot;vbox&quot;, &quot;', $G_targetNamespace, $G_targetNamespaceSeparator, '&quot;, NULL, NULL},')" />
53 <xsl:call-template name="emitNewline" />
54
55 <xsl:text><![CDATA[
56 {NULL, NULL, NULL, NULL}
57};
58
59]]></xsl:text>
60</xsl:template>
61
62<!-- - - - - - - - - - - - - - - - - - - - - - -
63 if
64 - - - - - - - - - - - - - - - - - - - - - - -->
65
66<!--
67 * ignore all |if|s except those for WSDL target
68-->
69<xsl:template match="if">
70</xsl:template>
71
72<!-- - - - - - - - - - - - - - - - - - - - - - -
73 cpp
74 - - - - - - - - - - - - - - - - - - - - - - -->
75
76<xsl:template match="cpp">
77<!-- ignore this -->
78</xsl:template>
79
80<!-- - - - - - - - - - - - - - - - - - - - - - -
81 library
82 - - - - - - - - - - - - - - - - - - - - - - -->
83
84<xsl:template match="library">
85 <xsl:apply-templates />
86</xsl:template>
87
88<!-- - - - - - - - - - - - - - - - - - - - - - -
89 class
90 - - - - - - - - - - - - - - - - - - - - - - -->
91
92<xsl:template match="module/class">
93<!-- TODO swallow for now -->
94</xsl:template>
95
96<!-- - - - - - - - - - - - - - - - - - - - - - -
97 enum
98 - - - - - - - - - - - - - - - - - - - - - - -->
99
100<xsl:template match="enum">
101</xsl:template>
102
103<!-- - - - - - - - - - - - - - - - - - - - - - -
104 const
105 - - - - - - - - - - - - - - - - - - - - - - -->
106
107<!--
108<xsl:template match="const">
109 <xsl:apply-templates />
110</xsl:template>
111-->
112
113<!-- - - - - - - - - - - - - - - - - - - - - - -
114 desc
115 - - - - - - - - - - - - - - - - - - - - - - -->
116
117<xsl:template match="desc">
118</xsl:template>
119
120<!-- - - - - - - - - - - - - - - - - - - - - - -
121 note
122 - - - - - - - - - - - - - - - - - - - - - - -->
123
124<xsl:template match="note">
125 <xsl:apply-templates />
126</xsl:template>
127
128<xsl:template match="interface | collection">
129</xsl:template>
130
131</xsl:stylesheet>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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