XML-import in InDesign
Posted: 08-20-2004, 02:48 PM
I am software developer for visual basic in a company producing disposition software for theatres. One of our customers requested some database content to be exported to a format, InDesign is able to read.
After i read some documentation about InDesign, i decided to choose XML as my format of choice. Is there any point that militates against that choice?
The data to be imported into InDesign belongs to a report which shows, which actors play in a performances at night. So this report has to be done every day for the evening performance. The report is then printed and put into a leaflet all theatre guest get a the entrance.
So, now to my question. I have some data occuring once (e.g. title of the play, date, composer) and some data occuring multiple times (first and last name of the numerous actors/actresses, names of their roles, staff with their functions, etc.).
I have already built a template in ID, with text and images boxes all around, being able to store all the importet values. The data which i want to be displayed together (first and last name) is grouped under a tag called "name" so that i can assign this "name" tag to a text box.
This works already, the central window is displaying the data. But how can i process the reocurring data so that i get one line for each dataset? The line has to look like "first name, last name, role" where first and last name are right-aligned and role is left-aligned, both meeting in the middle. Hmm, i hope, i have cleary stated, what my problem is..
It has to look like this:
................DATE-OF-PLAY..............
...............TITLE-OF-PLAYY.............
..............NAME OF COMPOSER............
..........................................
* ..........NAME NO1 | ROLE NO1..........
* ..AND.NOW NAME NO2 | AND NOW ROLE NO2..
* ......NOW NAME NO3 | NOW ROLE NO3......
* ....LAST NAME HERE | LAST ROLE HERE....
..........................................
.................OTHER TEXT...............
..........................................
* difficult lines
Can anyone plz help with this problem?
Kind regards
QuadBlade



Linear Mode


Posts: n/a