XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Adobe's InDesign and XML
Subject: Those optionally varying graphics...
Date: 2006-06-30 02:48:12
From: phillhw
Response to: Those optionally varying graphics...

Indesign XML works very well with dynamically loading images.
I am using Indsign 2.0 and the following works fine.
In Indesign:
Design the layout with a rectangle frame (the one with a cross on it), right click, define the contents as graphic and give it a tag name ie Image1.


In XML file:
Define the tag for Image1 with a href attribute:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<Tag1>My New Product</Tag1>
<Tag2>Buy this and you never need anything else again</Tag2>
<Tag3>This Product gives you the following benifites</Tag3>
<image1 href="file:///C:/images/1380.jpg" />
</Root>


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938