Reply To: Importing to InDesign from MySQL Database

Home Page / Forums / General InDesign Topics (CLOSED) / Importing to InDesign from MySQL Database / Reply To: Importing to InDesign from MySQL Database

#59427
BenMajor
Participant

Actually, on second thoughts I think it might be easier if I use PHP to output the XML. This way, I don't need to use GREP styles in InDesign to determine which colour each row would be. For example, I could create an XML file which is structured as follows:

<item>

12345

<description>My Item 1</description>
<row1Col>red</row1Col>
<row2Col>blue</row2Col>
<row3Col>red</row3Col>
</item>

My question now is, can I use the value from the rowNCol nodes as the name of the stlye to be applied to each Table Cell?

Thanks,
Ben.

This article was last modified on April 28, 2011

Comments (0)

Loading comments...