View Single Post
Old 08-07-2006, 04:41 PM   #6
shillingworth
A Predatory Creeper
 
Join Date: Dec 2002
Server: Bertoxxulous
Posts: 251
Interface Author - Click to view interfaces
Default

Dunno how well this one will work, but generated a schema from sidl.xml which is workin for me in visual studio 8.

Code:
<?xml version="1.0" encoding="utf-8" ?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="XML"> <xs:complexType> <xs:attribute name="xmlns" type="xs:string" use="required" fixed="EverQuestData" /> <xs:attribute name="xmlnsdt" type="xs:string" use="required" fixed="EverQuestDataTypes" /> </xs:complexType> </xs:element> <xs:element name="Class"> <xs:complexType> <xs:attribute name="item" type="string" /> </xs:complexType> </xs:element> <xs:element name="RGB"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Alpha" type="int" default="255" /> <xs:attribute name="R" type="int" default="255" /> <xs:attribute name="G" type="int" default="255" /> <xs:attribute name="B" type="int" default="255" /> </xs:complexType> </xs:element> <xs:element name="Point"> <xs:complexType> <xs:attribute name="X" type="int" default="0" /> <xs:attribute name="Y" type="int" default="0" /> </xs:complexType> </xs:element> <xs:element name="Size"> <xs:complexType> <xs:attribute name="CX" type="int" /> <xs:attribute name="CY" type="int" /> </xs:complexType> </xs:element> <xs:element name="TextureInfo"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Size" type="Size" /> </xs:complexType> </xs:element> <xs:element name="Frame"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Texture" type="string" /> <xs:attribute name="Location" type="Point" /> <xs:attribute name="Size" type="Size" /> <xs:attribute name="Hotspot" type="Point" /> <xs:attribute name="Duration" type="int" default="1000" /> <xs:attribute name="Shading" type="RGB" minOccurs="0" maxOccurs="*" /> <xs:attribute name="Specular" type="RGB" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="Ui2DAnimation"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Cycle" type="boolean" /> <xs:attribute name="Grid" type="boolean" /> <xs:attribute name="Vertical" type="boolean" /> <xs:attribute name="CellWidth" type="int" default="0" /> <xs:attribute name="CellHeight" type="int" default="0" /> <xs:attribute name="Frames" type="Frame" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="ButtonDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Normal" type="Ui2DAnimation:item" /> <xs:attribute name="Pressed" type="Ui2DAnimation:item" /> <xs:attribute name="Flyby" type="Ui2DAnimation:item" /> <xs:attribute name="Disabled" type="Ui2DAnimation:item" /> <xs:attribute name="PressedFlyby" type="Ui2DAnimation:item" /> <xs:attribute name="NormalDecal" type="Ui2DAnimation:item" /> <xs:attribute name="PressedDecal" type="Ui2DAnimation:item" /> <xs:attribute name="FlybyDecal" type="Ui2DAnimation:item" /> <xs:attribute name="DisabledDecal" type="Ui2DAnimation:item" /> <xs:attribute name="PressedFlybyDecal" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> <xs:element name="GaugeDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Background" type="Ui2DAnimation:item" /> <xs:attribute name="Fill" type="Ui2DAnimation:item" /> <xs:attribute name="Lines" type="Ui2DAnimation:item" /> <xs:attribute name="LinesFill" type="Ui2DAnimation:item" /> <xs:attribute name="EndCapRight" type="Ui2DAnimation:item" /> <xs:attribute name="EndCapLeft" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> <xs:element name="SpellGemDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Holder" type="Ui2DAnimation:item" /> <xs:attribute name="Background" type="Ui2DAnimation:item" /> <xs:attribute name="Highlight" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> <xs:element name="FrameTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="TopLeft" type="Ui2DAnimation:item" /> <xs:attribute name="Top" type="Ui2DAnimation:item" /> <xs:attribute name="TopRight" type="Ui2DAnimation:item" /> <xs:attribute name="RightTop" type="Ui2DAnimation:item" /> <xs:attribute name="Right" type="Ui2DAnimation:item" /> <xs:attribute name="RightBottom" type="Ui2DAnimation:item" /> <xs:attribute name="BottomRight" type="Ui2DAnimation:item" /> <xs:attribute name="Bottom" type="Ui2DAnimation:item" /> <xs:attribute name="BottomLeft" type="Ui2DAnimation:item" /> <xs:attribute name="LeftTop" type="Ui2DAnimation:item" /> <xs:attribute name="Left" type="Ui2DAnimation:item" /> <xs:attribute name="LeftBottom" type="Ui2DAnimation:item" /> <xs:attribute name="Middle" type="Ui2DAnimation:item" /> <xs:attribute name="OverlapLeft" type="int" default="0" /> <xs:attribute name="OverlapTop" type="int" default="0" /> <xs:attribute name="OverlapRight" type="int" default="0" /> <xs:attribute name="OverlapBottom" type="int" default="0" /> </xs:complexType> </xs:element> <xs:element name="ScrollbarDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="UpButton" type="ButtonDrawTemplate" /> <xs:attribute name="DownButton" type="ButtonDrawTemplate" /> <xs:attribute name="Thumb" type="FrameTemplate" /> <xs:attribute name="MiddleTextureInfo" type="string" /> <xs:attribute name="MiddleTint" type="RGB" /> </xs:complexType> </xs:element> <xs:element name="WindowDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Background" type="TextureInfo:item" /> <xs:attribute name="VSBTemplate" type="ScrollbarDrawTemplate" /> <xs:attribute name="HSBTemplate" type="ScrollbarDrawTemplate" /> <xs:attribute name="CloseBox" type="ButtonDrawTemplate" /> <xs:attribute name="QMarkBox" type="ButtonDrawTemplate" /> <xs:attribute name="MinimizeBox" type="ButtonDrawTemplate" /> <xs:attribute name="TileBox" type="ButtonDrawTemplate" /> <xs:attribute name="Border" type="FrameTemplate" /> <xs:attribute name="Titlebar" type="FrameTemplate" /> </xs:complexType> </xs:element> <xs:element name="SliderDrawTemplate"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Thumb" type="ButtonDrawTemplate" /> <xs:attribute name="Background" type="Ui2DAnimation:item" /> <xs:attribute name="EndCapRight" type="Ui2DAnimation:item" /> <xs:attribute name="EndCapLeft" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> <xs:element name="ScreenPiece"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="ScreenID" type="string" /> <xs:attribute name="Font" type="int" default="3" /> <xs:attribute name="RelativePosition" type="boolean" default="true" /> <xs:attribute name="Location" type="Point" /> <xs:attribute name="Size" type="Size" /> <xs:attribute name="AutoStretch" type="boolean" default="false" /> <xs:attribute name="TopAnchorToTop" type="boolean" default="true" /> <xs:attribute name="LeftAnchorToLeft" type="boolean" default="true" /> <xs:attribute name="BottomAnchorToTop" type="boolean" default="true" /> <xs:attribute name="RightAnchorToLeft" type="boolean" default="true" /> <xs:attribute name="TopAnchorOffset" type="int" default="0" /> <xs:attribute name="BottomAnchorOffset" type="int" default="0" /> <xs:attribute name="LeftAnchorOffset" type="int" default="0" /> <xs:attribute name="RightAnchorOffset" type="int" default="0" /> <xs:attribute name="Text" type="string" /> <xs:attribute name="TextColor" type="RGB" /> </xs:complexType> </xs:element> <xs:element name="StaticScreenPiece"> <xs:complexType> <xs:attribute type="ScreenPiece" /> <xs:attribute name="AutoDraw" type="boolean" default="true" /> </xs:complexType> </xs:element> <xs:element name="StaticAnimation"> <xs:complexType> <xs:attribute type="StaticScreenPiece" /> <xs:attribute name="Animation" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> <xs:element name="StaticText"> <xs:complexType> <xs:attribute type="StaticScreenPiece" /> <xs:attribute name="NoWrap" type="boolean" default="false" /> <xs:attribute name="AlignCenter" type="boolean" default="false" /> <xs:attribute name="AlignRight" type="boolean" default="false" /> </xs:complexType> </xs:element> <xs:element name="StaticFrame"> <xs:complexType> <xs:attribute type="StaticScreenPiece" /> <xs:attribute name="FrameTemplate" type="FrameTemplate:item" /> </xs:complexType> </xs:element> <xs:element name="StaticHeader"> <xs:complexType> <xs:attribute type="StaticScreenPiece" /> <xs:attribute name="FrameTemplate" type="FrameTemplate:item" /> <xs:attribute name="TextReference" type="string" /> <xs:attribute name="TextColor" type="RGB" /> </xs:complexType> </xs:element> <xs:element name="Control"> <xs:complexType> <xs:attribute type="ScreenPiece" /> <xs:attribute name="Style_VScroll" type="boolean" default="false" /> <xs:attribute name="Style_HScroll" type="boolean" default="false" /> <xs:attribute name="Style_Transparent" type="boolean" default="false" /> <xs:attribute name="Style_Border" type="boolean" /> <xs:attribute name="TooltipReference" type="string" /> <xs:attribute name="DrawTemplate" type="WindowDrawTemplate:item" /> </xs:complexType> </xs:element> <xs:element name="ListboxColumn"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="Header" type="FrameTemplate:item" /> <xs:attribute name="Heading" type="string" /> <xs:attribute name="Width" type="int" /> <xs:attribute name="Sortable" type="boolean" /> <xs:attribute name="DataType" type="string" /> </xs:complexType> </xs:element> <xs:element name="Listbox"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Columns" type="ListboxColumn" minOccurs="0" maxOccurs="*" /> <xs:attribute name="OwnerDraw" type="boolean" /> </xs:complexType> </xs:element> <xs:element name="Button"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Style_Checkbox" type="boolean" /> <xs:attribute name="RadioGroup" type="string" /> <xs:attribute name="Text" type="string" /> <xs:attribute name="ButtonDrawTemplate" type="ButtonDrawTemplate" /> <xs:attribute name="SoundPressed" type="string" /> <xs:attribute name="SoundUp" type="string" /> <xs:attribute name="SoundFlyby" type="string" /> <xs:attribute name="DecalOffset" type="Point" /> <xs:attribute name="DecalSize" type="Size" /> </xs:complexType> </xs:element> <xs:element name="Gauge"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="GaugeDrawTemplate" type="GaugeDrawTemplate" /> <xs:attribute name="EQType" type="int" /> <xs:attribute name="FillTint" type="RGB" /> <xs:attribute name="DrawLinesFill" type="boolean" /> <xs:attribute name="LinesFillTint" type="RGB" /> <xs:attribute name="TextOffsetX" type="int" default="0" /> <xs:attribute name="TextOffsetY" type="int" default="0" /> <xs:attribute name="GaugeOffsetX" type="int" default="0" /> <xs:attribute name="GaugeOffsetY" type="int" default="16" /> </xs:complexType> </xs:element> <xs:element name="SpellGem"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="SpellGemDrawTemplate" type="SpellGemDrawTemplate" /> <xs:attribute name="SpellIconOffsetX" type="int" default="0" /> <xs:attribute name="SpellIconOffsetY" type="int" default="0" /> </xs:complexType> </xs:element> <xs:element name="InvSlot"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="EQType" type="int" /> <xs:attribute name="Background" type="Ui2DAnimation:item" /> <xs:attribute name="ItemOffsetX" type="int" default="0" /> <xs:attribute name="ItemOffsetY" type="int" default="0" /> </xs:complexType> </xs:element> <xs:element name="Editbox"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Style_Multiline" type="boolean" /> </xs:complexType> </xs:element> <xs:element name="Slider"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="SliderArt" type="SliderDrawTemplate:item" /> </xs:complexType> </xs:element> <xs:element name="Label"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="EQType" type="int" /> <xs:attribute name="NoWrap" type="boolean" default="false" /> <xs:attribute name="AlignCenter" type="boolean" default="false" /> <xs:attribute name="AlignRight" type="boolean" default="false" /> </xs:complexType> </xs:element> <xs:element name="STMLbox"> <xs:complexType> <xs:attribute type="Control" /> </xs:complexType> </xs:element> <xs:element name="Combobox"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Button" type="ButtonDrawTemplate:item" /> <xs:attribute name="ListHeight" type="int" /> <xs:attribute name="Choices" type="string" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="Page"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="TabText" type="string" /> <xs:attribute name="TabTextColor" type="RGB" /> <xs:attribute name="TabTextActiveColor" type="RGB" /> <xs:attribute name="TabIcon" type="Ui2DAnimation:item" /> <xs:attribute name="TabIconActive" type="Ui2DAnimation:item" /> <xs:attribute name="Pieces" type="ScreenPiece:item" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="TabBox"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="TabBorderTemplate" type="FrameTemplate:item" /> <xs:attribute name="PageBorderTemplate" type="FrameTemplate:item" /> <xs:attribute name="Pages" type="Page:item" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="LayoutBox"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Spacing" type="int" default="5" /> <xs:attribute name="Pieces" type="ScreenPiece:item" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="HorizontalLayoutBox"> <xs:complexType> <xs:attribute type="LayoutBox" /> </xs:complexType> </xs:element> <xs:element name="VerticalLayoutBox"> <xs:complexType> <xs:attribute type="LayoutBox" /> </xs:complexType> </xs:element> <xs:element name="FinderBox"> <xs:complexType> <xs:attribute type="VerticalLayoutBox" /> </xs:complexType> </xs:element> <xs:element name="Screen"> <xs:complexType> <xs:attribute type="Control" /> <xs:attribute name="Style_Titlebar" type="boolean" /> <xs:attribute name="Style_Closebox" type="boolean" /> <xs:attribute name="Style_Qmarkbox" type="boolean" /> <xs:attribute name="Style_Minimizebox" type="boolean" /> <xs:attribute name="Style_Sizable" type="boolean" /> <xs:attribute name="Pieces" type="ScreenPiece:item" minOccurs="0" maxOccurs="*" /> </xs:complexType> </xs:element> <xs:element name="SuiteDefaults"> <xs:complexType> <xs:attribute type="Class" /> <xs:attribute name="DefaultWindowDrawTemplate" type="WindowDrawTemplate:item" /> <xs:attribute name="CursorDefault" type="Ui2DAnimation:item" /> <xs:attribute name="CursorResizeNS" type="Ui2DAnimation:item" /> <xs:attribute name="CursorResizeEW" type="Ui2DAnimation:item" /> <xs:attribute name="CursorResizeNESW" type="Ui2DAnimation:item" /> <xs:attribute name="CursorResizeNWSE" type="Ui2DAnimation:item" /> <xs:attribute name="CursorDrag" type="Ui2DAnimation:item" /> </xs:complexType> </xs:element> </xs:schema>
shillingworth is offline   Reply With Quote