[opencms-dev] opencms-xmlcontent.xsd

Jonathan Woods jonathan.woods at scintillance.com
Fri Nov 10 12:58:42 CET 2006


Volkmar - I've dug it up; copied below.  Jon
=========================
(From df at vpt.co.uk)

Thought this might be helpful (and also providing an archive for others ;)).


Even though this does not physically exist on the filesystem, I needed it so
that I can create complex xmlcontent .XSD files in a tool such as XMLSpy.


I got this by setting all the Log4j logging levels to INFO and trolling
through the opencms.log in WEB-INF/logs/


Regards,
Daniel


<?xml version="1.0" encoding="UTF-8"?>


<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:complexType name="OpenCmsHtml">
<xsd:sequence>
<xsd:element name="links" type="OpenCmsLinkTable"/>
<xsd:element name="content" type="OpenCmsHtmlContent"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="optional"/>
<xsd:attribute name="enabled" type="xsd:boolean" use="optional"/>
</xsd:complexType>
<xsd:complexType name="OpenCmsHtmlContent">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="enabled" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="OpenCmsLinkTable">
<xsd:sequence>
<xsd:element name="link" type="OpenCmsLink" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OpenCmsLink">
<xsd:sequence>
<xsd:element name="target" type="xsd:string"/>
<xsd:element name="anchor" type="xsd:string" minOccurs="0"/>
<xsd:element name="query" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="OpenCmsLinkType" use="required"/>
<xsd:attribute name="internal" type="xsd:boolean" use="required"/>
</xsd:complexType>
<xsd:simpleType name="OpenCmsLinkType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="A"/>
<xsd:enumeration value="IMG"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsLocale">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[a-z]{2,3}(_[A-Z]{2}(_[a-zA-Z0-9]+){0,1}){0,1}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsDateTime">
<xsd:restriction base="xsd:decimal"/>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsString">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsVfsFile">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsBoolean">
<xsd:restriction base="xsd:boolean"/>
</xsd:simpleType>
<xsd:simpleType name="OpenCmsColor">
<xsd:restriction base="xsd:string">
<xsd:pattern value="#([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema> 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Volkmar Emberger
Sent: 10 November 2006 11:44
To: The OpenCms mailing list
Subject: [opencms-dev] opencms-xmlcontent.xsd

hello

does anyone have the opencms-xmlcontent.xsd for xml-editing in a editor like
oxygen?

best regard

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list