I am trying to import XML data to InDesign and I have no problem with single template using tags but I would like to add attribute to <PAGE>
node with template name or url to use during import.
Is using different template for each node even possible?
This is simple XML data which I am using:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PAGES>
<PAGE>
<NAME>DIAG-1</NAME>
<Image href="file:///images/DIAG-1.jpg"/>
<FOOTNOTE>TEXT 1</FOOTNOTE>
</PAGE>
<PAGE>
<NAME>DIAG-2</NAME>
<Image href="file:///images/DIAG-2.jpg"/>
<FOOTNOTE>TEXT 2</FOOTNOTE>
</PAGE>
<PAGE>
<NAME>DIAG-3</NAME>
<Image href="file:///images/DIAG-3.jpg"/>
<FOOTNOTE>TEXT 3</FOOTNOTE>
</PAGE>
</PAGES>