Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 11-19-2003, 10:26 AM   #1
adunkey10
A Bat
 
Join Date: Nov 2003
Posts: 1
Default need xmlspy help

Hi,
I'm new to xml and this xmlspy tool that i'm trying to work with;
below is my code that I have to generate a diagram from, but obiously can't, cause i'm stupid. I have attached what my diagram should look like; well here's the code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by ian brown (roses) -->
<xs:schema targetNamespace="http://www.ericsson.se/addrbs" xmlns:arw="http://www.ericsson.se/addrbs" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="AddRBSData" type="arw:AddRBSData_Type"/>
<xs:complexType name="AddRBSData_Type" block="extension" id="0" mixed="true">
<xs:sequence>
<xs:element name="TemplateName" type="xs:string" minOccurs="0"/>
<xs:element name="RBSConnection" type="arw:RBSConnection_Type" maxOccurs="50"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RBSConnection_Type">
<xs:sequence>
<xs:element name="ConfigurationType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="RNC_RBS"/>
<xs:enumeration value="RNC_CC_RBS"/>
<xs:enumeration value="RNC_X_RBS"/>
<xs:enumeration value="RNC_X_X_RBS"/>
<xs:enumeration value="RNC_X_CC_RBS"/>
<xs:enumeration value="RNC_CC_X_RBS"/>
<xs:enumeration value="RNC_CC_CC_RBS"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PhysicalLinkRedundancy" type="xs:boolean"/>
<xs:element name="NumberOfAal2Links">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NewRBS" type="NewRBS_Type"/>
<xs:element name="RNC" type="RNC_Type"/>
<xs:element name="IntermediateNode_One" type="arw:IntermediateNode_One_Type" minOccurs="0"/>
<xs:sequence/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RNC_Type">
<xs:sequence>
<xs:element name="RNCName" type="xs:string"/>
<xs:element name="RNCModule" type="xs:string"/>
<xs:element name="VCI_Router" type="arw:VCI_OEM_Router_Type" minOccurs="0"/>
<xs:element name="Links" type="arw:InterfaceDataArray_Type" minOccurs="0"/>
<xs:element name="E1Links" type="arw:InterfaceDataArray_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NewRBS_Type">
<xs:sequence>
<xs:element name="RBSName" type="xs:string"/>
<xs:element name="rbsType" type="arw:RBS_Type"/>
<xs:element name="MPRedundancy" type="xs:boolean"/>
<xs:element name="TURedundancy" type="xs:boolean"/>
<xs:element name="DNSName" type="xs:string"/>
<xs:element name="RBSGroup" type="xs:string"/>
<xs:element name="AESA">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RBSID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="location" type="xs:string" minOccurs="0"/>
<xs:element name="timeZone" type="xs:string" minOccurs="0"/>
<xs:element name="freeText" type="xs:string" minOccurs="0"/>
<xs:element name="MIMVersion" type="xs:string" minOccurs="0"/>
<xs:choice>
<xs:element name="E1_Link" type="arw:E1_Link_Type"/>
<xs:element name="J1_Link" type="arw:J1_Link_Type"/>
<xs:element name="T1_Link" type="arw:T1_Link_Type"/>
<xs:element name="STM-1_Link" type="arw:STM-1_Link_Type"/>
<xs:element name="Other_Link" type="arw:Other_Link_Type"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="E1_Link_Type">
<xs:sequence>
<xs:element name="VPCapacity">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="501"/>
<xs:maxInclusive value="4500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="J1_Link_Type">
<xs:sequence>
<xs:element name="VPCapacity">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="501"/>
<xs:maxInclusive value="3600"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="T1_Link_Type">
<xs:sequence>
<xs:element name="VPCapacity">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="201"/>
<xs:maxInclusive value="2500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="STM-1_Link_Type">
<xs:sequence>
<xs:element name="VPCapacity">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="501"/>
<xs:maxInclusive value="352700"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Other_Link_Type">
<xs:sequence>
<xs:element name="VPCapacity">
<xs:simpleType>
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="201"/>
<xs:maxInclusive value="4294967296"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Node_Type">
<xs:sequence>
<xs:element name="NodeName" type="xs:string"/>
<xs:element name="VCI_Base" type="arw:VCI_Numbering_Base_Type" minOccurs="0"/>
<xs:element name="Links" type="arw:InterfaceDataArray_Type" minOccurs="0"/>
<xs:element name="E1Links" type="arw:InterfaceDataArray_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InterfaceDataArray_Type">
<xs:sequence>
<xs:element name="InterfaceData" type="arw:InterfaceData_Type" minOccurs="0" maxOccurs="2"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InterfaceData_Type">
<xs:sequence>
<xs:element name="Atmport" type="xs:string"/>
<xs:element name="VPI" type="arw:VPI_Type"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="IntermediateNode_One_Type">
<xs:complexContent>
<xs:extension base="Node_Type">
<xs:sequence>
<xs:element name="IntermediateNode_Two" type="arw:IntermediateNode_Two_Type" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="IntermediateNode_Two_Type">
<xs:complexContent>
<xs:extension base="Node_Type"/>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="VPI_Type">
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="255"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="VCI_OEM_Router_Type">
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="32"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="VCI_Numbering_Base_Type">
<xs:restriction base="xsositiveInteger">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="654"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RBS_Type">
<xs:restriction base="xs:token">
<xs:enumeration value="RBS3101"/>
<xs:enumeration value="RBS3202"/>
<xs:enumeration value="RBS3103"/>
<xs:enumeration value="RBS3104"/>
<xs:enumeration value="RBS3203"/>
<xs:enumeration value="RBS3303"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

thanks to anyone that can help me!

a10
Attached Files
File Type: zip diagram..zip (109.2 KB, 7 views)
adunkey10 is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 01:44 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI