Web Based Monitoring and Management: RE: WBMM> Progress on M

RE: WBMM> Progress on MIB to XML translation

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

  • Next message: Wagner,William: "WBMM> 30 April Conference Call"

    Hi folks,

    Now translating the enums successfully as well...

    Cheers,
    - Ira McDonald

    -----Original Message-----
    From: McDonald, Ira [mailto:imcdonald@sharplabs.com]
    Sent: Wednesday, April 30, 2003 11:02 AM
    To: wbmm@pwg.org
    Subject: 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:53:38 EDT