on 05-05-2006 7:07 AM
Hi,
Anyone of you could plz help to define root in MDM syndicator-destination properties.
Plz mail poonam.kanade@gmail.com or rijish.kishore@rediffmail.com
Thanks in advance,
Rijish
Hi Poonam,
I ran into this issue when I used a xsd of the entire schema and attached it to the repository. It picked up something (a child node) other than the supposed root automatically. I had to drop down, scroll through, and pick up the correct one.
Thanks
Savi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rijish/Poonam,
As soon as you select a valid xml schema file, the root is automatically picked up from its definition.
You need not select the root from anywhere. Just make sure that the xsd file you are using is valid.
Hope this helps.
Regards,
Pooja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Poonam and Rijish,
The problem is with your XSD for sure. I am pasting a sample structure of an XSD... but definitely you will not be able to use this as is. FYI, there is a How-to guide in Service market place on Syndicator which also gives an overview on the creation of XSD.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="MyXSDRoot" type="MyXSDRootType"/>
<xsd:complexType name="F1">
<xsd:element name="Field1" minOccurs="0">
<xsd:annotation>
<xsd:documentation>My Field 1</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CurrentRecordIND" minOccurs="0">
</xsd:element>
<xsd:element name="Field 2" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="F2">
<xsd:element>
.......
</xsd:element>
........
</xsd:complexType>
</xsd:schema>
In this case <b>MyXSDRoot</b> becomes your root node in Syndicator. When I copied, all the indentation in the file is gone ... Hope it is still readable.
Hope this helps.
Regards,
Rajani Kumar
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.