Hello all, I've been reading through the examples adn tutorials and trying a few things out, but just can't seem to get ANYTHING to work. Here's what I would like to do:

I have an xml file. Let's say it's a list of books (LibraryBooks.xml):

<library>

<book>

<title>Flatland</title>

<author>Abbott, Edwin</author>

<summary>Flatland: A Romance of Many Dimensions is an 1884 novella by Edwin Abbott Abbott, still popular among mathematics and computer science students, and considered useful reading for people studying topics such as the concept of other dimensions.</summary>

</book>

<book>

<title>The Stars, Like Dust</title>

<author>Asimov, Isaac</author>

<summary>The book is part of Asimov's Galactic Empire series. It takes place before the actual founding of the Galactic Empire, and even before Trantor has become important.</summary>

</book>

<book>

<title>From the Dust Returned</title>

<author>Bradbury, Ray</author>

<summary>From the Dust Returned is a fix-up fantasy novel by Ray Bradbury. The novel is largely comprised from a series of short stories which Bradbury had written decades earlier, centering around a family of vampires.</summary>

</book>

...

</library>

I have a script that creates an indesign document with facing pages and two linked text columns on each page.

I want to create repeating sections which will repeat (and flow to the next column if necessary) inside the text columns and will display my data from the xml file as:

[begin repeated area]

<title>[tab]<author>[linebreak]

<summary>

[end repeated area]

I have ZERO idea where to start or how to accomplish this. I've tried going throuh the example file "XMLRulesExampleData.xml" but I am getting an error:

UPDATE -- I got the file to the point where everything is dumping into my textFrame. Unfortunately, it still isn't quite right. My font styles only map properly when I keep ignoreWhiteSpace set to false. Also, everything is run together:

[Flatland][Abbott, Edwin][Flatland: A Romance of Many Dimensions is an 1884 novella by Edwin Abbott Abbott, still popular among mathematics and computer science students, and considered useful reading for people studying topics such as the concept of other dimensions.][The Stars, Like Dust][Asimov, Isaac][The book is part of Asimov's Galactic Empire series. It takes place before the actual founding of the Galactic Empire, and even before Trantor has become important.][From the Dust Returned][Bradbury, Ray][From the Dust Returned is a fix-up fantasy novel by Ray Bradbury. The novel is largely comprised from a series of short stories which Bradbury had written decades earlier, centering around a family of vampires.]

How do I separate each element so that the styles map properly AND how do I place the elements so that the document ends up looking like this:

[Flatland] [Abbott, Edwin]

[Flatland: A Romance of Many Dimensions is an 1884 novella by Edwin Abbott Abbott, still popular among mathematics and computer science students, and considered useful reading for people studying topics such as the concept of other dimensions.]

[The Stars, Like Dust] [Asimov, Isaac]

[The book is part of Asimov's Galactic Empire series. It takes place before the actual founding of the Galactic Empire, and even before Trantor has become important.]

[From the Dust Returned] [Bradbury, Ray]

[From the Dust Returned is a fix-up fantasy novel by Ray Bradbury. The novel is largely comprised from a series of short stories which Bradbury had written decades earlier, centering around a family of vampires.]