Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InDesign + XML - New to InDesign, Documentation is awful

Status
Not open for further replies.

stedman

Programmer
Apr 15, 2005
1
GB
Hey guys,

I have recently been asked to look into InDesign, to replace Quark as our DTP software, I've used Quark for years and have been developing XML for 3 years, so I though InDesign + XML = easy.....

Spoke to soon.

We produce picture ready pages for a number of papers and magazines using data stored in a databse, extracted in XML and then processed, into Quark tagged documents at the moment, using XSLT.

From what I have read from the, awful HTML, documentation it appears that you need to map an XML tag to a particular Text Box - that's fine.

The issue I have is that the XML documents we use contain elements that are named the same but are only distinguished by there attirbutes...

<element id="1"/>
<element id="2"/>
<element id="3"/>
<element id="4"/>
etc...

...is there any way of assiging 'element' to a Text Box, with elements under this node be assigned to additional sub-Text Boxes, and then repeating the original Text Box down the page for the number of 'elements' present in the document?

Any help would be greatly appreciated, I can use shell scripts, XSLT, PERL, Javascript and PHP to format the document/write import programmes if needed.

...or you could just tell me to RTFM.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top