websrv-nsmap.xsl revision a74782eac5771b0de57834e8c8c0247c55e8dd57
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts<?xml version="1.0"?>
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<!--
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster websrv-nsmap.xsl:
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster XSLT stylesheet that generates a vboxweb.nsmap file from
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster VirtualBox.xidl, which gets included from C++ client and
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster server code.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster See webservice/Makefile.kmk for an overview of all the things
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster generated for the webservice.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster Copyright (C) 2006-2010 Oracle Corporation
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster This file is part of VirtualBox Open Source Edition (OSE), as
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster available from http://www.virtualbox.org. This file is free software;
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster you can redistribute it and/or modify it under the terms of the GNU
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster General Public License (GPL) as published by the Free Software
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster Foundation, in version 2 as it comes in the "COPYING" file of the
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster VirtualBox OSE distribution. VirtualBox OSE is distributed in the
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster-->
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<xsl:stylesheet
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster version="1.0"
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster xmlns:xsd="http://www.w3.org/2001/XMLSchema">
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts
bcb85423bc6855cb1c7accc69fa051e1771c000aMark de Reeper <xsl:output method="text"/>
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster <xsl:strip-space elements="*"/>
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<!-- - - - - - - - - - - - - - - - - - - - - - -
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster global XSLT variables
57a1b25dcdf865eacb2fe2e17c5ca83e942da047David Luna - - - - - - - - - - - - - - - - - - - - - - -->
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" />
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<xsl:include href="websrv-shared.inc.xsl" />
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts<!-- - - - - - - - - - - - - - - - - - - - - - -
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts root match
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts - - - - - - - - - - - - - - - - - - - - - - -->
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts<xsl:template match="/idl">
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster <xsl:text><![CDATA[
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster/* DO NOT EDIT! This is a generated file.
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster * Generator: src/VBox/Main/webservice/websrv-nsmap.xsl */
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster#include "soapH.h"
5c099afa7c9361afc2f4477fec0e3018588d7840Allan FosterSOAP_NMAC struct Namespace namespaces[] =
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster{
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
bcb85423bc6855cb1c7accc69fa051e1771c000aMark de Reeper]]></xsl:text>
bcb85423bc6855cb1c7accc69fa051e1771c000aMark de Reeper
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts <xsl:value-of select="concat(' {&quot;vbox&quot;, &quot;', $G_targetNamespace, $G_targetNamespaceSeparator, '&quot;, NULL, NULL},')" />
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster <xsl:call-template name="emitNewline" />
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster <xsl:text><![CDATA[
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster {NULL, NULL, NULL, NULL}
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster};
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster]]></xsl:text>
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster</xsl:template>
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<!-- - - - - - - - - - - - - - - - - - - - - - -
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster if
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster - - - - - - - - - - - - - - - - - - - - - - -->
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
57a1b25dcdf865eacb2fe2e17c5ca83e942da047David Luna<!--
57a1b25dcdf865eacb2fe2e17c5ca83e942da047David Luna * ignore all |if|s except those for WSDL target
57a1b25dcdf865eacb2fe2e17c5ca83e942da047David Luna-->
ccf9d4a5c6453fa9f8b839baeee25147865fbb7dJames Phillpotts<xsl:template match="if">
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer</xsl:template>
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer<!-- - - - - - - - - - - - - - - - - - - - - - -
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer cpp
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer - - - - - - - - - - - - - - - - - - - - - - -->
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer<xsl:template match="cpp">
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer<!-- ignore this -->
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer</xsl:template>
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer<!-- - - - - - - - - - - - - - - - - - - - - - -
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer library
be34d3a7cf588cb751d61e9acc86f1ff328e0344ian.packer - - - - - - - - - - - - - - - - - - - - - - -->
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster<xsl:template match="library">
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster <xsl:apply-templates />
5c099afa7c9361afc2f4477fec0e3018588d7840Allan Foster</xsl:template>
<!-- - - - - - - - - - - - - - - - - - - - - - -
class
- - - - - - - - - - - - - - - - - - - - - - -->
<xsl:template match="module/class">
<!-- TODO swallow for now -->
</xsl:template>
<!-- - - - - - - - - - - - - - - - - - - - - - -
enum
- - - - - - - - - - - - - - - - - - - - - - -->
<xsl:template match="enum">
</xsl:template>
<!-- - - - - - - - - - - - - - - - - - - - - - -
const
- - - - - - - - - - - - - - - - - - - - - - -->
<!--
<xsl:template match="const">
<xsl:apply-templates />
</xsl:template>
-->
<!-- - - - - - - - - - - - - - - - - - - - - - -
desc
- - - - - - - - - - - - - - - - - - - - - - -->
<xsl:template match="desc">
</xsl:template>
<!-- - - - - - - - - - - - - - - - - - - - - - -
note
- - - - - - - - - - - - - - - - - - - - - - -->
<xsl:template match="note">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="interface | collection">
</xsl:template>
</xsl:stylesheet>