Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in 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.

    in reply to: Importing to InDesign from MySQL Database #59426
    BenMajor
    Participant

    Thanks for your help, David. I think that is the best way to go.

    Unfortunately, I'm relatively new to using GREP styles in InDesign. I wonder if you could give me a few pointers as to how this could be achieved?

    Thanks,
    Ben.

Viewing 2 posts - 1 through 2 (of 2 total)