on 03-15-2007 7:56 AM
Hi,
I am trying to create the MAP using Destination Properties with Type "XML Schema File" but Root option is not enabled and because of this problem OK button is also disabled. Please look into the following xml schema structure and guide me what is the problem:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/TibcoManuals/Schema.xsd"
targetNamespace="http://www.tibco.com/schemas/TibcoManuals/Schema.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="Product">
<xs:complexType>
<xs:sequence>
<xs:element ref="Name"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Name" type="xs:string"/>
</xs:schema>
Regards,
Shahid Nadeem
Hi Shahid,
I made some changes in your xml file
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Product">
<xs:complexType>
<xs:sequence>
<xs:element ref="Name"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Name" type="xs:string"/>
</xs:schema>
I used this XML file and the <b>OK </b>button was enabled. <b>Product </b>appears to be the Root element.
Try this out.
Please revert if any queries.
Thanks and Regards,
<b>Sagar Sonje
Mark Helpful Answers</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found most of the issues I've had with the XSD files have been the header. Try this...
<?xml version="1.0" ?>
<xs:schema id="Products" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="Product" msdata:IsDataSet="true" msdata:EnforceConstraints="False">
<xs:complexType>
<xs:sequence>
<xs:element ref="Name"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Name" type="xs:string"/>
</xs:schema>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.