Other Entries

Log

Notes on XML and Scripting InDesign

I’ve been working on a catalog in InDesign CS2 using data pulled from a database. Documentation on automation is rather, shall we say, scarce, so here’s a few pointers that I’ve learned.

12/15/06 08:03AM Design Geekiness

Comments

Cristiana:

Hi, this few pointers are very useful. I ask you: “how can I markup TextFrame’s tables with my XML?”
Thanks in advance,
Cristiana

02/26/07 1:21PM

Chris Cassell:

Cristiana—you need to place the table tags inside an xml element that maps to a textframe’s tag. For example, if you have an element “tablewrapper” that wraps your table, you need to tag the textframe “tablewrapper”.

03/08/07 10:34PM

Lars Ibsen:

Hi :-)

I have tried to put the table-xml above into my xml document but InDesign will not import it (my script and xml works fine without the table-xml).

Is it possible you could make an full example and put it on this site? An xml document with the table and a script to place the data.

Thanks in advance,
Lars

12/10/07 3:22AM

Andy:

Very interesting information.
Thank You.

But one thing…
You need not to use the <Image>-Tag for images. Any tag with a href-attribute will do.

Example:
<MyBeautifulPicture href=”file://img.png” />

06/11/08 3:59AM

karel rosseel:

Does anybody have an idea how to make an objectstyle linked to an object(image)?
I know that the cellstyle can be defined with aid5:cellstyle=” “
and tablestyle with aid5:tablestyle=” ”
but how do you define an objectstyle? aid5:objectstyle=” ” does not work.. any other ideas?

thank you very much

02/20/09 2:26AM

Add a Comment

Have something to say about what I wrote here? Let’s hear it!

The Rules

Personal Information




Remember Information


Comment Preview

 

 

Recently Played on iTunes

  1. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:27
  2. “The KKK Took My Baby Away”
    Anthology
    The Ramones
    06/04/11 09:25
  3. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:24

Last 100 Songs >