I have multiples of XML data coming through for the same (very large) document.
This XML has been created from an online form database.
And as I am on a tight deadline I really need to import the XML as they are submitted but want to use the "Merge Content" option.
The only way I can figure out how to make it work is to have a template indesign file and as the data comes in, import XML and merge content. Then copy these pages and paste into the large document?
The reason why I can't append content then drag and drop the content into a box is because I can't figure out how to perfectly format the table I need using XML, but if I merge content it uses the previously setup table I have created in indesign.
I am hoping someone has a better idea?
Thanks in advance!!
I would suggest reverse-engineering the situation. Make a table. In the table, make a paragraph and tag it with an XML tag (you can make one up for this test). Then place an image into a table cell. Select it and then tag as an image by using Autotag feature. http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6cf6a.h tml#WSa285fff53dea4f8617383751001ea8cb3f-6cf5a
Export the entire table as XML and view the result to see how InDesign writes the XML. Image file names in href value must start with file://
You can make a different tag map for images by checking the Tagging Preset Options and change the default Image tag to the tag name that you use for your images in XML (img, image, pic or whatever).I don't think you can change what attribute InDesign uses for image resource path, I think it must always be @href containing "file" followed by the path - see @href explanation. http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6ce7a.h tml.