Announcement Announcement Module
Collapse
No announcement yet.
XSD to LDAP schema Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • XSD to LDAP schema

    It may not be exactly the right forum to as this question, but here it is:

    I am trying to convert XSD schema to LDAP schema. Is there a way to do it? Here are some examples of the XSD code:

    Code:
    <!--  ****************************************************************   -->
    <!--  AmountType used for any element that requires a monetary unit      -->
    <!--  ****************************************************************   -->
        <xsd:complexType name="AmountType">
            <xsd:simpleContent>
                <xsd:extension base="xsd:decimal">
                    <xsd:attribute name="currencyID"                type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="currencyCodeListVersionID" type="xsd:normalizedString" use="optional" />
                </xsd:extension>
            </xsd:simpleContent>
        </xsd:complexType>
    
    
    <!--  ********************************************************************************************   -->
    <!--  BinaryObjetc Type used for any element that requires a set of finite length sequence of octets -->
    <!--  ********************************************************************************************   -->
        <xsd:complexType name="BinaryObjectType">
            <xsd:simpleContent>
                <xsd:extension base="xsd:base64Binary">
                    <xsd:attribute name="format"            type="xsd:string"           use="optional" />
                    <xsd:attribute name="mimeCode"          type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="encodingCode"      type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="characterSetCode"  type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="uri"               type="xsd:anyURI"           use="optional" />
                    <xsd:attribute name="filename"          type="xsd:string"           use="optional" />
                </xsd:extension>
            </xsd:simpleContent>
        </xsd:complexType>
    
    
    <!--  ****************************************    -->
    <!--  CodeType used for any enumerated strings    -->
    <!--  ****************************************    -->
        <xsd:complexType name="CodeType">
            <xsd:simpleContent>
                <xsd:extension base="xsd:normalizedString">
                    <xsd:attribute name="listID"            type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="listAgencyID"      type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="listAgencyName"    type="xsd:string"           use="optional" />
                    <xsd:attribute name="listName"          type="xsd:string"           use="optional" />
                    <xsd:attribute name="listVersionID"     type="xsd:normalizedString" use="optional" />
                    <xsd:attribute name="name"              type="xsd:string"           use="optional" />
                    <xsd:attribute name="languageID"        type="xsd:language"         use="optional" />
                    <xsd:attribute name="listURI"           type="xsd:anyURI"           use="optional" />
                    <xsd:attribute name="listSchemeURI"     type="xsd:anyURI"           use="optional" />
                </xsd:extension>
            </xsd:simpleContent>
        </xsd:complexType>
    Thanks!
Working...
X