7 Replies Latest reply on Jun 29, 2011 2:11 AM by Oscar@Medusa

    Import XML table over multiple pages with rowspan "bug"

    Oscar@Medusa

      Hi, I came across the following oddity:

      I have an XML-file, and a XSL-file to convert the XML-data into a table.

      It contains a header, body & a footer.

      This table, however, has a rowspan in the first column, spanning [x] rows, where [x] is the amount of items per category, like this example:

       

      Header 1Header 2Header 3Header 4Header 5Header 6
      Appetizers (3 items)Appetizers1
      Appetizers2
      Appetizers3
      Soup and Salad (4 items)Soup and Salad1
      Soup and Salad2
      Soup and Salad3
      Soup and Salad4
      Deserts (2 items)Deserts1
      Deserts2
      Footer

       

      This works fine, as long as all data fits on 1 page.

       

      If I, for example, have 40 "soups & salads", and thus spanning more pages, the "rowspan" is NOT continued on the 2nd page!

      This results into an odd-looking table.

       

      I've included the sample-XML & XSL files to see it in practice, and I leave this post with the following question:

       

      Am I missing something? Or is it 'something I have to live with, and edit things manually anyway?

       

      XML:

      <?xml version="1.0" encoding="utf-8"?>
      <?xml-stylesheet type="text/xsl" href="data_IDs.xsl"?>
      <menu>
           <section name="Appetizers">
                <summary>Start your meal with something hot and fresh</summary>
      
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 1</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>7</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 2</title>
                     <description>Praesent dapibus, neque id cursus faucibus, tortor neque
                          egestas augue, eu vulputate magna eros eu erat. Aliquam erat
                          volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis
                          luctus, metus.
                     </description>
                     <price>8</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 3</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
                     <price>6</price>
      
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 4</title>
                     <description>Pellentesque magna enim, pulvinar et luctus in,
                          facilisis non tellus. Ut vehicula, massa id viverra faucibus, leo
                          leo dictum augue, ut tempus est sapien in arcu. Vestibulum elementum
                          mollis libero vel sollicitudin. Vivamus tempus quam eu velit
                          facilisis fermentum.
                     </description>
                     <price>6</price>
      
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 5</title>
                     <description>Phasellus faucibus commodo sem, vitae tincidunt nulla
                          elementum at. Nulla mi nunc, aliquam sit amet gravida et, congue at
                          dui. Vestibulum blandit lorem at ipsum luctus viverra. Fusce congue
                          erat non mi euismod sed euismod est pulvinar.
                     </description>
                     <price>12</price>
      
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 1</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>7</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 2</title>
                     <description>Praesent dapibus, neque id cursus faucibus, tortor neque
                          egestas augue, eu vulputate magna eros eu erat. Aliquam erat
                          volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis
                          luctus, metus.
                     </description>
                     <price>8</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 3</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
                     <price>6</price>
      
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 4</title>
                     <description>Pellentesque magna enim, pulvinar et luctus in,
                          facilisis non tellus. Ut vehicula, massa id viverra faucibus, leo
                          leo dictum augue, ut tempus est sapien in arcu. Vestibulum elementum
                          mollis libero vel sollicitudin. Vivamus tempus quam eu velit
                          facilisis fermentum.
                     </description>
                     <price>6</price>
      
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Appetizer Title 5</title>
                     <description>Phasellus faucibus commodo sem, vitae tincidunt nulla
                          elementum at. Nulla mi nunc, aliquam sit amet gravida et, congue at
                          dui. Vestibulum blandit lorem at ipsum luctus viverra. Fusce congue
                          erat non mi euismod sed euismod est pulvinar.
                     </description>
                     <price>12</price>
      
                     <img>img1.jpg</img>
                </item>
           </section>
           <section name="Soup and Salad">
                <summary>Made with locally grown ingredients. Served with breadsticks.
                </summary>
                <item>
      
                     <pcode>1001</pcode>
                     <title>Soup 1</title>
                     <description>Phasellus faucibus commodo sem, vitae tincidunt nulla
                          elementum at. Nulla mi nunc, aliquam sit amet gravida et, congue at
                          dui. Vestibulum blandit lorem at ipsum luctus viverra. Fusce congue
                          erat non mi euismod sed euismod est pulvinar.
                     </description>
                     <price>5</price>
                     <img>img1.jpg</img>
                     <options></options>
                     <category>low fat, low calorie, heart healthy</category>
                </item>
      
                <item>
                     <pcode>1001</pcode>
                     <title>Soup 2</title>
                     <description>Pellentesque magna enim, pulvinar et luctus in,
                          facilisis non tellus. Ut vehicula, massa id viverra faucibus, leo
                          leo dictum augue, ut tempus est sapien in arcu. Vestibulum elementum
                          mollis libero vel sollicitudin. Vivamus tempus quam eu velit
                          facilisis fermentum.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options></options>
                     <category>gluten-free</category>
      
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Soup 3</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     `
                     <category></category>
      
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Salad 1</title>
                     <description>Praesent dapibus, neque id cursus faucibus, tortor neque
                          egestas augue, eu vulputate magna eros eu erat. Aliquam erat
                          volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis
                          luctus, metus.
                     </description>
                     <price>11</price>
                     <img>img1.jpg</img>
                     <options></options>
      
                     <category></category>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Salad 2</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
                     <price>9</price>
                     <img>img1.jpg</img>
      
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     <category></category>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Salad 3</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>14</price>
      
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     <category></category>
                </item>
                <item>
      
                     <pcode>1001</pcode>
                     <title>Soup 1</title>
                     <description>Phasellus faucibus commodo sem, vitae tincidunt nulla
                          elementum at. Nulla mi nunc, aliquam sit amet gravida et, congue at
                          dui. Vestibulum blandit lorem at ipsum luctus viverra. Fusce congue
                          erat non mi euismod sed euismod est pulvinar.
                     </description>
                     <price>5</price>
                     <img>img1.jpg</img>
                     <options></options>
                     <category>low fat, low calorie, heart healthy</category>
                </item>
      
                <item>
                     <pcode>1002</pcode>
                     <title>Soup 2</title>
                     <description>Pellentesque magna enim, pulvinar et luctus in,
                          facilisis non tellus. Ut vehicula, massa id viverra faucibus, leo
                          leo dictum augue, ut tempus est sapien in arcu. Vestibulum elementum
                          mollis libero vel sollicitudin. Vivamus tempus quam eu velit
                          facilisis fermentum.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options></options>
                     <category>gluten-free</category>
      
                </item>
                <item>
                     <pcode>1003</pcode>
                     <title>Soup 3</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     `
                     <category></category>
      
                </item>
                          <item>
                     <pcode>1004</pcode>
                     <title>Soup 4</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     <category></category>
                </item>
                          <item>
                     <pcode>1005</pcode>
                     <title>Soup 5</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     <category></category>
                </item>
                          <item>
                     <pcode>1006</pcode>
                     <title>Soup 6</title>
                     <description>Lorem ipsum dolor sit amet, consectetuer adipiscing
                          elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada
                          erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit,
                          posuere a, pede.
                     </description>
                     <price>6</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
                     <category></category>
                </item>
           </section>
           <section name="Main Courses">
                <summary>Made with locally grown ingredients. Served with breadsticks.
                </summary>
                <item>
                     <pcode>1001</pcode>
                     <title>Main Course 1</title>
                     <description>Phasellus bibendum erat ac tellus laoreet id aliquam
                          quam ultrices.
                     </description>
                     <price>14</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Main Course 2</title>
                     <description>Pellentesque magna enim, pulvinar et luctus in,
                          facilisis non tellus. Ut vehicula, massa id viverra faucibus, leo
                          leo dictum augue, ut tempus est sapien in arcu. Vestibulum elementum
                          mollis libero vel sollicitudin. Vivamus tempus quam eu velit
                          facilisis fermentum.
                     </description>
                     <price>20</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Main Course 3</title>
                     <description>Donec accumsan nibh nec ligula iaculis sagittis. Cras
                          pellentesque consectetur libero, eu egestas turpis scelerisque quis.
                          In hac habitasse platea dictumst.
                     </description>
                     <price>16</price>
                     <img>img1.jpg</img>
                     <options></options>
                     `
                     <category></category>
      
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Main Course 4</title>
                     <description>Cras ac mauris non lectus tincidunt tristique et eget
                          augue. Maecenas leo dolor, viverra et laoreet ut, sagittis in orci.
                     </description>
                     <price>11</price>
                     <img>img1.jpg</img>
                     <options>Quisque venenatis: +$2, Donec ultricies: +3.</options>
      
                     <category></category>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Main Course 5</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
                     <price>14</price>
                     <img>img1.jpg</img>
      
                </item>
           </section>
           <section name="Desserts">
                <summary>Delicious homemade deserts.</summary>
                <item>
                     <pcode>1001</pcode>
                     <title>Dessert 1</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
      
                     <price>5</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Dessert 2</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
      
                     <price>7</price>
                     <img>img1.jpg</img>
                </item>
                <item>
                     <pcode>1001</pcode>
                     <title>Dessert 3</title>
                     <description>Suspendisse accumsan est quis enim accumsan consectetur.
                          Donec at turpis odio, at pharetra mauris. Ut suscipit dictum velit
                          eget faucibus. Fusce nulla justo, varius id gravida non, fermentum
                          non mi. Duis eget dui eget enim scelerisque mattis eu a dolor.
                     </description>
      
                     <price>6</price>
                     <img>img1.jpg</img>
                </item>
           </section>
      </menu>
      

       

      XSL

      <?xml version="1.0" encoding="UTF-8"?>
      <xsl:stylesheet version="2.0"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
           <xsl:template match="/">
                <!-- [items] = amount of data items from XML, AND 2 more for 1 header and 
                     1 footer. It's needed to define the amount of table rows for aid:rows, for 
                     table properties -->
                <xsl:variable name="items" select="count(menu/section/item) + 2" />
                <Root>
                     <Artikel>
                          <Tabel xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/"
                               aid:table="table" aid:trows="{$items}" aid:tcols="6">
                               <!-- [START TABLE HEADER] -->
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="128.14829396300001">
                                    <xsl:value-of select="$items" />
                               </Cel>
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="49.36745406773224">ProductCode
                               </Cel>
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="93.54330708661416">ProductNaam
                               </Cel>
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="94.96062992125985">ProductOmschrijving
                               </Cel>
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="46.77165354330708">ProductPrijs
                               </Cel>
                               <Cel aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1"
                                    aid:ccolwidth="356.09842519608674">ProductFoto
                               </Cel>
                               <!-- [END TABLE HEADER] -->
                               <!-- [START TABLE BODY] -->
                               <xsl:for-each select="menu/section">
                                    <xsl:variable name="products" select="count(item)" />
                                    <Cel aid:table="cell" aid:crows="{$products}" aid:ccols="1"
                                         aid:ccolwidth="128.14829396300001">
                                         <xsl:value-of select="@name" />
                                         <xsl:value-of select="$products" />
                                         <!-- <Afbeelding href="file:///Images/img1.jpg" /> -->
                                    </Cel>
                                    <xsl:for-each select="item">
                                         <Cel aid:table="cell" aid:crows="1" aid:ccols="1"
                                              aid:ccolwidth="49.36745406773224">
                                              <xsl:value-of select="pcode" />
                                         </Cel>
                                         <Cel aid:table="cell" aid:crows="1" aid:ccols="1"
                                              aid:ccolwidth="93.54330708661416">
                                              <xsl:value-of select="title" />
                                         </Cel>
                                         <Cel aid:table="cell" aid:crows="1" aid:ccols="1"
                                              aid:ccolwidth="94.96062992125985">
                                              <xsl:value-of select="title" />
                                         </Cel>
                                         <Cel aid:table="cell" aid:crows="1" aid:ccols="1"
                                              aid:ccolwidth="46.77165354330708">
                                              <xsl:value-of select="price" />
                                         </Cel>
                                         <Cel aid:table="cell" aid:crows="1" aid:ccols="1"
                                              aid:ccolwidth="356.09842519608674">
                                              <xsl:value-of select="normalize-space(title)" />
                                              <!-- Let's tackle one problem at the time. Description contains a lot of text possibly causing another preflight-problem. 
                                              <xsl:value-of select="normalize-space(description)" /> -->
                                         </Cel>
                                    </xsl:for-each>
                               </xsl:for-each>
                               <!-- [END TABLE BODY] -->
      
                               <!-- [START TABLE FOOTER] -->
                               <Cel aid:table="cell" aid:tfooter="" aid:crows="1" aid:ccols="6">
                                    <Afbeelding href="file:///Images/img1.jpg" />
                               </Cel>
                               <!-- [END TABLE FOOTER] -->
                          </Tabel>
                     </Artikel>
                </Root>
           </xsl:template>
      </xsl:stylesheet>
      
        • 1. Re: Import XML table over multiple pages with rowspan "bug"
          [Jongware] Most Valuable Participant

          Oscar@Medusa.nl wrote:

          [...]

          This works fine, as long as all data fits on 1 page.

           

          If I, for example, have 40 "soups & salads", and thus spanning more pages, the "rowspan" is NOT continued on the 2nd page!

          This results into an odd-looking table.

           

          I've included the sample-XML & XSL files to see it in practice, and I leave this post with the following question:

           

          Am I missing something? Or is it 'something I have to live with, and edit things manually anyway?

           

          InDesign does not support splitting a row over a page; and everything "inside" a row-span is considered to be a single row.

          However, looking at your sample data, it seems it's not necessary to physically join the first rows into a single cell. Isn't it easier to just remove the lines inbetween? That way InDesign can still break pages 'between' items.

          1 person found this helpful
          • 2. Re: Import XML table over multiple pages with rowspan "bug"
            John Hawkinson Level 5
            IIsn't it easier to just remove the lines inbetween? That way InDesign can still break pages 'between' items.

            How would you do that in an XML aid:table? With cell styles? I feel like you would need at least two?

            • 3. Re: Import XML table over multiple pages with rowspan "bug"
              [Jongware] Most Valuable Participant

              I don't see anything regarding lines, or cell styles for that matter. So that's going to be a manual job -- and then it's a question of choosing the lesser of two evils, since splitting the rows when warranted can also be done when & where necessary ...

              • 4. Re: Import XML table over multiple pages with rowspan "bug"
                Oscar@Medusa Level 1

                @Indesign developers: If you feed Indesign a table that spans acros multiple pages, it's expected that rowspans are continued on the next page.

                For the next update?

                 

                Preferably with the option to repeat contense of that spanning cell. Like this:

                <Page 1>

                Header 1Header 2Header 3Header 4Header 5Header 6
                Appetizers (3 items)Appetizers1
                Appetizers2
                Appetizers3
                Soup and Salad (40 items)Soup and Salad1
                Soup and Salad2
                ...
                Soup and Salad36
                Footer

                </Page 1>

                 

                <Page 2>

                Header 1Header 2Header 3Header 4Header 5Header 6
                Soup and Salad (40 items)Soup and Salad37
                Soup and Salad38
                Soup and Salad39
                Soup and Salad40
                Deserts (2 items)Deserts1
                Deserts2
                Footer

                </Page 2>

                • 5. Re: Import XML table over multiple pages with rowspan "bug"
                  John Hawkinson Level 5

                  I don't see anything regarding lines, or cell styles for that matter. So that's going to be a manual job -- and then it's a question of choosing the lesser of two evils, since splitting the rows when warranted can also be done when & where necessary ...

                  Err, you can certainly specify cell styles in XML table imports. See the InDesign XML Technical Reference which documents aid5:cellstyle e.g.:

                   

                  <Table xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/"
                  aid5:tablestyle="MyTableStyle">
                  <Cell aid5:cellstyle="MyCellStyle">A</Cell>
                  <Cell>B</Cell>
                  <Cell>C</Cell>
                  <Cell>D</Cell>
                  

                   

                  @Indesign developers: If you feed Indesign a table that spans acros multiple pages, it's expected that rowspans are continued on the next page.

                  For the next update?

                  Sorry, InDesign developers don't generally read this forum.

                  1 person found this helpful
                  • 6. Re: Import XML table over multiple pages with rowspan "bug"
                    Oscar@Medusa Level 1

                    Thanks, but it's not really the solution I'm looking for.

                    Styles only work if they're specifically named like that in the document you're importing them in, and it's not something I want to dictate to de designer who has to work with the data.

                     

                    I filed a Indesign bug to Adobe, using the "file bug/improvements form", and i linked to this thread. Hopefully some developers will have a look.

                     

                    It should 'just work', as expected, and not discard information "because that's how Indesign works".

                    Make it work, as expected that it should work.

                    Because this behavior rowspan is quite useless if it's not applied consistently.

                    • 7. Re: Import XML table over multiple pages with rowspan "bug"
                      Oscar@Medusa Level 1

                      I have to update my findings:

                       

                      How Indesign displays data also strongly depends if the imported XML file is LINKED!

                       

                      The example above is generated as follows:

                      1. Create an empty Indesign document
                      2. import XML, with the following options enabled:
                        • create link
                        • apply XSL
                        • Clone repeating text elements
                        • import text elements into tables if tags match
                      3. Import xml into document, see how nicely it generates a table
                      4. Open the imported XML-file with a text-editor, and increase the item-count. Save XML file
                      5. In indesign, not how in the LINKS tab, it correctly shows that content has been edited.
                      6. Apply changes
                      7. Scratch your head and wonder why your table looks like that.

                       

                       

                      Now when XML is imported without changing data while linked:

                       

                      1. Create an empty Indesign document
                      2. import XML, with the following options enabled:
                        • (doesn't matter of linked or not)
                        • apply XSL
                        • Clone repeating text elements
                        • import text elements into tables if tags match
                      3. Import xml into document, see how nicely it generates a table
                      4. Undo import, so you have a blank page again
                      5. Open the imported XML-file with a text-editor, and increase the item-count, preferably in the 2nd category. Save XML file
                      6. Redo step 2 and 3 again, until you reached the point where a category has more items that can fit on a page (including head & footer)
                      7. Scratch your head and wonder why Indesign only shows the first category on the first page, but generates other blank pages where you'd expect the rest of the table to be.

                       

                      This last bug can also be reproduced when you just create a table in an empty document:

                      Create table with: header row, body with 40 rows, footer row.

                      Merge cells from 1st column, body-row 2 to 38.

                      And then through menu [Table > Insert > Row...], keep adding rows with the merged column.

                      When you reach the moment that you maxed out the amount of rows that fits on one page with a merged column, you'll see that the pages where the table should be continued, become blank.

                       

                      Please Adobe, will you fix this bug? Rowspan should 'broken' and continued on following pages.

                      I can't imagine this behavious is desired by any Indesign user.