Web Based Monitoring and Management: WBMM> Progress on MIB t

WBMM> Progress on MIB to XML translation

From: McDonald, Ira (imcdonald@sharplabs.com)
Date: Wed Apr 30 2003 - 11:01:34 EDT

  • Next message: McDonald, Ira: "RE: WBMM> Progress on MIB to XML translation"

    Hi,

    Below is a machine-generated excerpt from Printer MIB as XML Schema.

    Still to be done:
    1) Namespace headers and boilerplate
    2) Capturing enum value keywords as XML enumeration values

    Cheers,
    - Ira McDonald
      High North Inc

    -----------------------

        <xsd:simpleType name="MediaUnit">
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
        <xsd:simpleType name="CapacityUnit">
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
        <xsd:simpleType name="SubUnitStatus">
            <xsd:restriction base="xsd:integer">
            </xsd:restriction>
        </xsd:simpleType>
        <xsd:simpleType name="PresentOnOff">
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
        <xsd:simpleType name="CodedCharSet">
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
    <xsd:element name="PrtGeneralTable">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtGeneralEntry" minOccurs="0">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtGeneralEntry">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtGeneralConfigChanges" minOccurs="1">
            <xsd:element ref="PrtGeneralCurrentLocalization" minOccurs="1">
            <xsd:element ref="PrtGeneralReset" minOccurs="1">
            <xsd:element ref="PrtGeneralCurrentOperator" minOccurs="1">
            <xsd:element ref="PrtGeneralServicePerson" minOccurs="1">
            <xsd:element ref="PrtInputDefaultIndex" minOccurs="1">
            <xsd:element ref="PrtOutputDefaultIndex" minOccurs="1">
            <xsd:element ref="PrtMarkerDefaultIndex" minOccurs="1">
            <xsd:element ref="PrtMediaPathDefaultIndex" minOccurs="1">
            <xsd:element ref="PrtConsoleLocalization" minOccurs="1">
            <xsd:element ref="PrtConsoleNumberOfDisplayLines" minOccurs="1">
            <xsd:element ref="PrtConsoleNumberOfDisplayChars" minOccurs="1">
            <xsd:element ref="PrtConsoleDisable" minOccurs="1">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtGeneralConfigChanges">
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtGeneralCurrentLocalization">
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtGeneralReset">
        <xsd:simpleType>
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtCoverTable">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtCoverEntry" minOccurs="0">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtCoverEntry">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtCoverIndex" minOccurs="1">
            <xsd:element ref="PrtCoverDescription" minOccurs="1">
            <xsd:element ref="PrtCoverStatus" minOccurs="1">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtCoverIndex">
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtCoverDescription">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtCoverStatus">
        <xsd:simpleType>
            <xsd:restriction base="xsd:NMTOKEN">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtLocalizationTable">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtLocalizationEntry" minOccurs="0">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtLocalizationEntry">
        <xsd:complexType>
            <xsd:sequence>
            <xsd:element ref="PrtLocalizationIndex" minOccurs="1">
            <xsd:element ref="PrtLocalizationLanguage" minOccurs="1">
            <xsd:element ref="PrtLocalizationCountry" minOccurs="1">
            <xsd:element ref="PrtLocalizationCharacterSet" minOccurs="1">
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="PrtLocalizationIndex">
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtLocalizationLanguage">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtLocalizationCountry">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PrtLocalizationCharacterSet">
        <xsd:simpleType>
            <xsd:restriction base="CodedCharSet">
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>



    This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 11:01:43 EDT