on 05-14-2007 7:01 PM
I am trying to achieve the following XML output from MDM Syndicator:
XML1
<?xml version="1.0" encoding="UTF-8" ?>
<Root>
<Story>
<Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="3" aid:tcols="2">
<Part_Number>RRA521E</Part_Number>
<Description>Cable to Rebar</Description>
<Part_Number>RRA541E</Part_Number>
<Description>Cable to Rebar</Description>
...
<Part_Number>RRA531E</Part_Number>
<Description>Cable to Rebar</Description>
</Table>
</Story>
</Root>
The problem I am running into is that I cannot find the option where Part_Number and Description are repeatable within the <Table> node. I am only able to achieve a repeatable <Table> node structure like below:
XML2
<?xml version="1.0" encoding="UTF-8" ?>
<Root>
<Story>
<Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="" aid:trows="" aid:tcols="">
<Part_Number>RRA521E</Part_Number>
<Description>Cable to Rebar</Description>
</Table>
<Table>
<Part_Number>RRA541E</Part_Number>
<Description>Cable to Rebar</Description>
...
<Part_Number>RRA531E</Part_Number>
<Description>Cable to Rebar</Description>
</Table>
</Story>
</Root>
In addition the Syndicator also seems to ignore the XSD standard for specifying fixed attribute values (as seen in XML2), defined below:
XML3
...
<xs:attribute name="xmlnsaid" type="xs:string" use="required" fixed="httpadobe"/>
<xs:attribute name="aidtable" type="xs:string" use="required" fixed="table"/>
<xs:attribute name="aidtrows" type="xs:integer" use="required" fixed="3"/>
<xs:attribute name="aidtcols" type="xs:integer" use="required" fixed="2"/>
...
Does anyone have experience in getting an XML result such as the one defined in XML1 above? Thanks.
Hi,
I am not sure you can achieve this, since even though you removed the Destination property for the 'Table' node (from ur example), it still appears in the XML extract, becaz the XSD structure is like that.
hope Syndicator doesn't have direct feature to achieve this...
thanks
alexander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.