Tuesday, March 23, 2010

telephone directory from XML

Hey

I have a big challenge. The task is to generate e phone direcotry in an adobe application. first i think indesign is perfect. i became all directory entries in a xml file. but now i have the problem that i didn't understand how i set various entries in a textbox.

An entry look like this:


Testname


Marcel

%26amp;n bsp; Musterstrasse
%26amp;n bsp; 86
%26amp;n bsp; 6000
%26amp;n bsp; Dorf

0413332211







the entries have different skins. it will be controlled by the type-attribut.

Can anybody help me?
(sorry for my realy bad english)

kind regards
Christelephone directory from XML
From the CS4 XML help:



An attribute provides additional information about an XML element. Each attribute consists of a name and a value. Attributes appear in the Structure pane; THEY ARE NOT PLACED IN THE DOCUMENT OR USED AS CONTENT IN THE DOCUMENT. Include attributes with elements for the benefit of files and applications that will use the XML files you create in InDesign.



In other words, ID doesn't use the attributes for anything. They are only useful if you're exporting XML from InDesign.



Tad

No comments:

Post a Comment