VirtualBox

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

Last change on this file since 72098 was 69381, checked in by vboxsync, 7 years ago

webservices: scm updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 3.8 KB
Line 
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 See webservice/Makefile.kmk for an overview of all the things
10 generated for the webservice.
11
12 Copyright (C) 2006-2016 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
24 version="1.0"
25 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
26 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
27
28 <xsl:output method="text"/>
29
30 <xsl:strip-space elements="*"/>
31
32<!-- - - - - - - - - - - - - - - - - - - - - - -
33 global XSLT variables
34 - - - - - - - - - - - - - - - - - - - - - - -->
35
36<xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" />
37
38<xsl:include href="../idl/typemap-shared.inc.xsl" />
39
40<!-- - - - - - - - - - - - - - - - - - - - - - -
41 root match
42 - - - - - - - - - - - - - - - - - - - - - - -->
43
44<xsl:template match="/idl">
45 <xsl:text><![CDATA[
46/* DO NOT EDIT! This is a generated file.
47 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
48 * Generator: src/VBox/Main/webservice/websrv-nsmap.xsl */
49
50#include "soapH.h"
51SOAP_NMAC struct Namespace namespaces[] =
52{
53 {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
54 {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
55 {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
56 {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
57]]></xsl:text>
58
59 <xsl:value-of select="concat(' {&quot;vbox&quot;, &quot;', $G_targetNamespace, $G_targetNamespaceSeparator, '&quot;, NULL, NULL},')" />
60 <xsl:call-template name="emitNewline" />
61
62 <xsl:text><![CDATA[
63 {NULL, NULL, NULL, NULL}
64};
65
66]]></xsl:text>
67</xsl:template>
68
69<!-- - - - - - - - - - - - - - - - - - - - - - -
70 if
71 - - - - - - - - - - - - - - - - - - - - - - -->
72
73<!--
74 * ignore all |if|s except those for WSDL target
75-->
76<xsl:template match="if">
77</xsl:template>
78
79<!-- - - - - - - - - - - - - - - - - - - - - - -
80 cpp
81 - - - - - - - - - - - - - - - - - - - - - - -->
82
83<xsl:template match="cpp">
84<!-- ignore this -->
85</xsl:template>
86
87<!-- - - - - - - - - - - - - - - - - - - - - - -
88 library
89 - - - - - - - - - - - - - - - - - - - - - - -->
90
91<xsl:template match="library">
92 <xsl:apply-templates />
93</xsl:template>
94
95<!-- - - - - - - - - - - - - - - - - - - - - - -
96 class
97 - - - - - - - - - - - - - - - - - - - - - - -->
98
99<xsl:template match="module/class">
100<!-- TODO swallow for now -->
101</xsl:template>
102
103<!-- - - - - - - - - - - - - - - - - - - - - - -
104 enum
105 - - - - - - - - - - - - - - - - - - - - - - -->
106
107<xsl:template match="enum">
108</xsl:template>
109
110<!-- - - - - - - - - - - - - - - - - - - - - - -
111 const
112 - - - - - - - - - - - - - - - - - - - - - - -->
113
114<!--
115<xsl:template match="const">
116 <xsl:apply-templates />
117</xsl:template>
118-->
119
120<!-- - - - - - - - - - - - - - - - - - - - - - -
121 desc
122 - - - - - - - - - - - - - - - - - - - - - - -->
123
124<xsl:template match="desc">
125</xsl:template>
126
127<!-- - - - - - - - - - - - - - - - - - - - - - -
128 note
129 - - - - - - - - - - - - - - - - - - - - - - -->
130
131<xsl:template match="note">
132 <xsl:apply-templates />
133</xsl:template>
134
135<xsl:template match="interface | collection">
136</xsl:template>
137
138</xsl:stylesheet>
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