r1 - 21 Jun 2005 - 13:29:29 - BartoszBelterYou are here: TWiki >  PACE Web  >  TopicProv > WebServiceInterfaces > InterdomainInterface > ForwardingLayer > ForwardingLayerXMLSchema

Forwarding Layer - XML Schema

XML Schema


<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
   targetNamespace="http://www.geant2.net/namespaces/pace/Forward.xsd"
   xmlns="http://www.geant2.net/namespaces/pace/Forward.xsd"
   elementFormDefault="qualified">
      
<xs:complexType name="addressType">
   <xs:simpleContent>
      <xs:extension base="xs:string">
         <xs:attribute name="type" use="required">
            <xs:simpleType>
            <xs:restriction base="xs:normalizedString">
               <xs:enumeration value="IPv4"/>
               <xs:enumeration value="IPv6"/>
            </xs:restriction>
            </xs:simpleType>
         </xs:attribute>
      </xs:extension>
   </xs:simpleContent>
</xs:complexType>
   
<xs:complexType name="payloadType" mixed="true">
   <xs:sequence>
      <xs:any minOccurs="0"/>
   </xs:sequence>
</xs:complexType>

<xs:element name="forward">
   <xs:complexType>
   <xs:sequence>
      <xs:element name="destination" type="addressType"/>
      <xs:element name="payload" type="payloadType"/>
   </xs:sequence>
   </xs:complexType>
</xs:element>

</xs:schema>

-- BartoszBelter - 21 Jun 2005

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions



 
GEANT2
Copyright © 2004-2005 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.