VirtualBox

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

Last change on this file since 106683 was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 4.1 KB
Line 
1<?xml version="1.0"?>
2
3<!--
4 websrv-nsmap.xsl:
5 XSLT stylesheet that generates a vboxweb.nsmap file from
6 VirtualBox.xidl, which gets included from C++ client and
7 server code.
8 See webservice/Makefile.kmk for an overview of all the things
9 generated for the webservice.
10-->
11<!--
12 Copyright (C) 2006-2024 Oracle and/or its affiliates.
13
14 This file is part of VirtualBox base platform packages, as
15 available from https://www.virtualbox.org.
16
17 This program is free software; you can redistribute it and/or
18 modify it under the terms of the GNU General Public License
19 as published by the Free Software Foundation, in version 3 of the
20 License.
21
22 This program is distributed in the hope that it will be useful, but
23 WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 General Public License for more details.
26
27 You should have received a copy of the GNU General Public License
28 along with this program; if not, see <https://www.gnu.org/licenses>.
29
30 SPDX-License-Identifier: GPL-3.0-only
31-->
32
33<xsl:stylesheet
34 version="1.0"
35 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
36 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
37
38 <xsl:output method="text"/>
39
40 <xsl:strip-space elements="*"/>
41
42<!-- - - - - - - - - - - - - - - - - - - - - - -
43 global XSLT variables
44 - - - - - - - - - - - - - - - - - - - - - - -->
45
46<xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" />
47
48<xsl:include href="../idl/typemap-shared.inc.xsl" />
49
50<!-- - - - - - - - - - - - - - - - - - - - - - -
51 root match
52 - - - - - - - - - - - - - - - - - - - - - - -->
53
54<xsl:template match="/idl">
55 <xsl:text><![CDATA[
56/* DO NOT EDIT! This is a generated file.
57 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
58 * Generator: src/VBox/Main/webservice/websrv-nsmap.xsl */
59
60#include "soapH.h"
61SOAP_NMAC struct Namespace namespaces[] =
62{
63 {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
64 {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
65 {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
66 {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
67]]></xsl:text>
68
69 <xsl:value-of select="concat(' {&quot;vbox&quot;, &quot;', $G_targetNamespace, $G_targetNamespaceSeparator, '&quot;, NULL, NULL},')" />
70 <xsl:call-template name="emitNewline" />
71
72 <xsl:text><![CDATA[
73 {NULL, NULL, NULL, NULL}
74};
75
76]]></xsl:text>
77</xsl:template>
78
79<!-- - - - - - - - - - - - - - - - - - - - - - -
80 if
81 - - - - - - - - - - - - - - - - - - - - - - -->
82
83<!--
84 * ignore all |if|s except those for WSDL target
85-->
86<xsl:template match="if">
87</xsl:template>
88
89<!-- - - - - - - - - - - - - - - - - - - - - - -
90 cpp
91 - - - - - - - - - - - - - - - - - - - - - - -->
92
93<xsl:template match="cpp">
94<!-- ignore this -->
95</xsl:template>
96
97<!-- - - - - - - - - - - - - - - - - - - - - - -
98 library
99 - - - - - - - - - - - - - - - - - - - - - - -->
100
101<xsl:template match="library">
102 <xsl:apply-templates />
103</xsl:template>
104
105<!-- - - - - - - - - - - - - - - - - - - - - - -
106 class
107 - - - - - - - - - - - - - - - - - - - - - - -->
108
109<xsl:template match="module/class">
110<!-- TODO swallow for now -->
111</xsl:template>
112
113<!-- - - - - - - - - - - - - - - - - - - - - - -
114 enum
115 - - - - - - - - - - - - - - - - - - - - - - -->
116
117<xsl:template match="enum">
118</xsl:template>
119
120<!-- - - - - - - - - - - - - - - - - - - - - - -
121 const
122 - - - - - - - - - - - - - - - - - - - - - - -->
123
124<!--
125<xsl:template match="const">
126 <xsl:apply-templates />
127</xsl:template>
128-->
129
130<!-- - - - - - - - - - - - - - - - - - - - - - -
131 desc
132 - - - - - - - - - - - - - - - - - - - - - - -->
133
134<xsl:template match="desc">
135</xsl:template>
136
137<!-- - - - - - - - - - - - - - - - - - - - - - -
138 note
139 - - - - - - - - - - - - - - - - - - - - - - -->
140
141<xsl:template match="note">
142 <xsl:apply-templates />
143</xsl:template>
144
145<xsl:template match="interface | collection">
146</xsl:template>
147
148</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