I am having some problems convert the following DTD to a schema,
<!ELEMENT Preamble (
standardName ,
standardVersion ) >
<!ATTLIST Preamble xmlns CDATA #FIXED
"http://www.rosettanet.org/RNIF/V02.00" >
<!ELEMENT standardName
( GlobalAdministeringAuthorityCode ) >
<!ELEMENT GlobalAdministeringAuthorityCode
( #PCDATA ) >
<!ELEMENT standardVersion
( VersionIdentifier ) >
<!ELEMENT VersionIdentifier
( #PCDATA ) >
I don't know how to create write the "xmlns" attribute of the Preamble
element, Xerces complaints about the xmlns as the attribute name, can any
one help me write this schema?
<xsd:element name="Preamble">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="standardName"
maxOccurs="1" minOccurs="1"/>
<xsd:element ref="standardVersion"
maxOccurs="1" minOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="xmlns"
fixed="http://www.rosettanet.org/RNIF/V02.00">
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Thanks,
Benson.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]