Menu

#151 Licenses

open
nobody
5
2004-02-26
2004-02-26
Mark Whitis
No

<licensesAndCertifications>
<title>Licenses and Certifications</title>
<license>
VA Driver's License
</license>
<license>
Amatuer Radio Technician Class License: KI4BSZ
</license>
<certification>
AHA CPR Certification
</certification>
<certification>
I do not participate in bogus certification programs such as
MCSE or CNE in which corporations award fake credentials
to people who in turn recomend their unworthy products.
</certification>
</licensesAndCertifications>

You might want to include optional tags like <date> in the
certifications.

Discussion

  • Michael R. Lawrence

    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:element name="licensesAndCertifications">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="title"/>
    <xs:element maxOccurs="unbounded" ref="license"/>
    <xs:element maxOccurs="unbounded" ref="certification"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="title" type="xs:string"/>
    <xs:element name="license" type="xs:string"/>
    <xs:element name="certification" type="xs:string"/>
    </xs:schema>

     
  • Michael R. Lawrence

    some xml based on above in XSD to patch scheme file.

     
  • Michael R. Lawrence

    DTD DATA

    <!-- What certifications, if any, you might possess.though an accedemic sub set. -->
    <!ELEMENT certification ( #PCDATA ) >
    <!-------- <!ELEMENT certification-Experation-Date( #PCDATA ) > ----->
    <!ELEMENT license ( #PCDATA ) >
    <!!!--- Modifications Added city date Most firs what to know were the certification body is certification-Experation-Date----tossed duplicate eliment title -!!!!>
    <!-- <!ELEMENT licensesAndCertifications ( title, license+, certification+ city+ Date+ ) >-------->
    <!ELEMENT licensesAndCertifications ( title, license+, certification+ ) >

     
  • Michael R. Lawrence

    RNG data for the above

    <?xml version="1.0"?>
    <rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" ns="" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
    <rng:start combine="choice">
    <rng:ref name="licensesAndCertifications"/>
    </rng:start>
    <rng:define name="licensesAndCertifications">
    <rng:element name="licensesAndCertifications">

    <rng:ref name="title"/>
    <rng:oneOrMore>
    <rng:ref name="license"/>
    </rng:oneOrMore>
    <rng:oneOrMore>
    <rng:ref name="certification"/>
    </rng:oneOrMore>

    </rng:element>
    </rng:define>
    <rng:start combine="choice">
    <rng:ref name="title"/>
    </rng:start>
    <rng:define name="title">
    <rng:element name="title">
    <rng:data type="string"/>
    </rng:element>
    </rng:define>
    <rng:start combine="choice">
    <rng:ref name="license"/>
    </rng:start>
    <rng:define name="license">
    <rng:element name="license">
    <rng:data type="string"/>
    </rng:element>
    </rng:define>
    <rng:start combine="choice">
    <rng:ref name="certification"/>
    </rng:start>
    <rng:define name="certification">
    <rng:element name="certification">
    <rng:data type="string"/>
    </rng:element>
    </rng:define>
    </rng:grammar>

     

Log in to post a comment.