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

Filippo:

What about the opposite way? - That is: what if I have a series of xml tables of various lengths that I wish to export as html? Is there a way to accomplish this with use of xslt?
Thank you

03/06/09 5:22PM

fussball:

Gute Arbeit hier! Gute Inhalte.

03/06/09 5:53PM

fussball:

Gute Arbeit hier! Gute Inhalte.

03/06/09 5:54PM

samuel:

RYJ6Lb http://www.cRk2bdPqQls602mIa4bgo.com

02/04/10 6:11AM

samuel:

RYJ6Lb http://www.cRk2bdPqQls602mIa4bgo.com

02/04/10 6:12AM

samuel:

RYJ6Lb http://www.cRk2bdPqQls602mIa4bgo.com

02/04/10 6:13AM

samuel:

RYJ6Lb http://www.cRk2bdPqQls602mIa4bgo.com

02/04/10 6:13AM

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. “Stop”
    Ritual De Lo Habitual
    Jane's Addiction
    06/10/10 14:53
  2. “I Turned into a Martian”
    Boxset Collection 1: Plan 9
    Misfits
    06/10/10 14:51
  3. “Nothin' To Live For”
    Problematic
    All
    06/10/10 14:50

Last 100 Songs >