Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<consultants>
    <consultant>
        <name>Joe Bloggs, LLC</name>
        <logo>jbloggs.jpg</logo>
        <specialty>Deployment<<discipline>Deployment</specialty>discipline>
        <specialty>Migration<<discipline>Migration</specialty>discipline>
        <description>Joe Bloggs, LLC provides custom deployment and migration servives for small and medium business moving to OpenOffice.  We work with the client from initial
        evaluation and piloting, through deployment and beyond.  References and whitepaper are available on our website.</description>
        <website>http://www/jbloggsllc.com/openoffice.html</website>
        <email>joe@jbloggsllc.com</email>
        <phone>123-456-7890</phone>
    </consultant>

</consultants>

The schema for this is defined by:

Wiki Markup
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
&nbsp; <xs:element name="consultants">
&nbsp;&nbsp;&nbsp; <xs:complexType>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:sequence>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element maxOccurs="unbounded" ref="consultant"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </xs:sequence>
&nbsp;&nbsp;&nbsp; </xs:complexType>
&nbsp; </xs:element>
&nbsp;
&nbsp; <xs:element name="consultant">
&nbsp;&nbsp;&nbsp; <xs:complexType>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:sequence>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element ref="name"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element minOccurs="0" ref="logo"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element maxOccurs="unbounded" ref="discipline"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element ref="description"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element ref="website"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element minOccurs="0" ref="email"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:element minOccurs="0" ref="phone"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </xs:sequence>
&nbsp;&nbsp;&nbsp; </xs:complexType>
&nbsp; </xs:element>
&nbsp;
&nbsp; <xs:element name="name" type="xs:string"/>
&nbsp; <xs:element name="logo" type="xs:anyURI"/>
&nbsp; <xs:element name="discipline" type="discipline"/>
&nbsp; <xs:element name="description" type="description"/>
&nbsp; <xs:element name="website" type="xs:anyURI"/>
&nbsp; <xs:element name="email" type="email-address"/>
&nbsp; <xs:element name="phone" type="xs:string"/>
&nbsp;
&nbsp;
&nbsp;&nbsp; <xs:simpleType name="email-address">
&nbsp;&nbsp;&nbsp; <xs:restriction base="xs:string">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:pattern value="\[^@\]+@\[^\.\]+\..+"/>
&nbsp;&nbsp;&nbsp; </xs:restriction>
&nbsp; </xs:simpleType>
&nbsp;
&nbsp; <xs:simpleType name="description">
&nbsp;&nbsp;&nbsp; <xs:restriction base="xs:string">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:minLength value="0"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:maxLength value="300"/>
&nbsp;&nbsp;&nbsp; </xs:restriction>
&nbsp; </xs:simpleType>
&nbsp;
&nbsp; <xs:simpleType name="discipline">
&nbsp;&nbsp;&nbsp; <xs:restriction base="xs:string">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Deployment"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Migration"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Extensions"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Training"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Customization"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xs:enumeration value="Other"/>
&nbsp;&nbsp;&nbsp; </xs:restriction>
&nbsp; </xs:simpleType>
&nbsp; &nbsp;
</xs:schema>

Consults could submit or edit their entries via a CMS patch, a Bugzilla issue or via the mailing list.

...