Greetings,
I’m trying to create a template for ads, like the ones you see on a newspaper (5 column template).
My goal is to click on an XML placeholder, and load into it an XML file. However, when I do so, the XML is loaded but instead of creating multiple placeholders (each for every repeatable tag), I can only see the rest of the content if I resize the placeholder (to see this in action, just create a new document and import a rather large xml file. Only the 1st page is filled with content).
The number of tags in each xml file is not fixed and I want to push the elements in the template, making room before them for the xml that is loaded (spreading from column to column and then moving to another page), without spoiling the rest of the layout.
My xml file looks like this:
<?xml version=”1.0″?>
<resultset statement=”select adtext from ad where adCategoryID=3 order by adinsertdate desc limit 100″
xmlns:xsi=”https://www.w3.org/2001/XMLSchema-instance”>
<row>
<field name=”adtext”>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vestibulum viverra eros eu convallis. Nam vestibulum augue vel lacus sodales venenatis.</field>
</row>
<row>
<field name=”adtext”>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vestibulum viverra eros eu convallis. Nam vestibulum augue vel lacus sodales venenatis.</field>
</row>
……..