cancel
Showing results for 
Search instead for 
Did you mean: 

MDM Syndicator

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Pooja,

Thanks for your help and could you send me a sample xsd coding, actually i got struck up there only.

Regards

Rijish

Former Member
0 Kudos

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