C
chemicals
I am using Office 2003 Professional. I am trying to follow an example for
adding an XML schema to a Word document and I get the following error: "The
XML expansion pack or schema file could not be installed". I can't see
anything wrong.
Here is the xsd code:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:schemas-microsoft-com.office11demos.WordProductsSD"
targetNamespace="urn:schemas-microsoft-com.office11demos.WordProductsSD"
elementFormDefault="qualified"
attributeFormDefault="unqualified" id="Contract">
<xsd:complexType name="contract">
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:sequence>
<xsd:element name="CaseCode" type="xsd:string" />
<xsd:element name="Casediscription" type="xsd:string" />
<xsd:element name="element1" type="xsd:string" />
<xsd:element name="Nextdateofhearin" type="xsd:string" />
<xsd:element name="summary" type="xsd:string" />
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
adding an XML schema to a Word document and I get the following error: "The
XML expansion pack or schema file could not be installed". I can't see
anything wrong.
Here is the xsd code:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:schemas-microsoft-com.office11demos.WordProductsSD"
targetNamespace="urn:schemas-microsoft-com.office11demos.WordProductsSD"
elementFormDefault="qualified"
attributeFormDefault="unqualified" id="Contract">
<xsd:complexType name="contract">
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:sequence>
<xsd:element name="CaseCode" type="xsd:string" />
<xsd:element name="Casediscription" type="xsd:string" />
<xsd:element name="element1" type="xsd:string" />
<xsd:element name="Nextdateofhearin" type="xsd:string" />
<xsd:element name="summary" type="xsd:string" />
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>