Skip to Content
author's profile photo
Former Member

Can't specify XML Schema root in MDM Syndicator

Hello: I am using MDM 5.5 SP3, and I am trying to use Syndicator to output multilingual XML product descriptions. The XSD I am attempting to use is pasted below.

When I attempt to specify the Destination Properties and select the XSD file I have loaded into the repository via the Console, I am unable to select the "Root" (it is grayed out). I am unable to use the XSD in any way within Syndicator because the "OK" button is grayed out...I assume because Root has not been specified.

Any suggestions?

Thank you - Matt

<?xml version="1.0"?>

http://www.w3.org/2000/10/XMLSchema">

<xs:element name="ProdDescription" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="ProdCatalogNum" type="xs:string"/>

<xs:element name="Description" type="xs:string" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Language" type="xs:string"/>

<xs:element name="Value" type="xs:string"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

I also tried this variant with no success. Changes are <b>in bold</b> and notes are <u>underlined</u>.

<?xml version="1.0"?>

http://www.w3.org/2000/10/XMLSchema">

<b><xs:element name="root">

<xs:complexType>

<xs:choice maxOccurs="unbounded">

<xs:element ref="ProdDescription" />

</xs:choice>

</xs:complexType>

</xs:element></b>

<xs:element name="ProdDescription"> <u>previously: maxOccurs="unbounded"</u>

<xs:complexType>

<xs:sequence>

<xs:element name="ProdCatalogNum" type="xs:string"/>

<xs:element name="Description" type="xs:string" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Language" type="xs:string"/>

<xs:element name="Value" type="xs:string"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Apr 06, 2006 at 12:50 PM

    I solved my problem: here is the updated XSD:

    I believe it was mostly due to the <b>bolded</b> line:

    <?xml version="1.0"?>

    http://www.w3.org/2001/XMLSchema">>

    <xsd:element name="ProdDescription" type="ProdDescType"/>

    <xsd:complexType name="ProdDescType">

    <xsd:sequence>

    <xsd:element name="ProdCatalogNum" type="xsd:string"/>

    <xsd:element name="Description" type="DescriptionType" maxOccurs="unbounded"/>

    </xsd:sequence>

    </xsd:complexType>

    <xsd:complexType name="DescriptionType">

    <xsd:sequence>

    <xsd:element name="Language" type="xsd:string"/>

    <xsd:element name="Value" type="xsd:string"/>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:schema>

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi

      I am also getting the same problem, I have tried with your code also which you have posted in this question, but my problem was not solved?

      can you explain me how to create root element and what is the right procedure for enabling the root element?

      thanks in advance

      bharat.chinthapatla