Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Urgent help

Return to Member Forum

  • Author
    Posts
    • #58273
      xmlapi
      Member

      I have the following XML schema:

      <courses>
      <course><number/><name/><category/></course>
      </courses>

      My goal is to display the XML as pages in InDesign. This is fairly simple, no problem. The issue is that I need category to be on the side of the page as vertical text.

      I created two place holders. One for the side category, and one for the main placeholder which displays course number and name. I tagged my template and made sure the structure is correct.

      Now when I go to duplicate the page spread (so the other courses can be displayed as pages as well)….it moves the Category node in the structure to the FIRST course node. So if I duplicate the 1st page…the 2nd page's category node is moved into the 1st pages course node.

      Why is this happening?

    • #58275
      David Blatner
      Keymaster

      Before investigating any XML question, I always ask: Have you read Maivald's XML and InDesign book? Or Dorothy Hoskins'? Or watched Maivald's XML video at lynda.com?

      XML and InDesign is rarely as easy/obvious as it seems like it should be.

    • #58278
      xmlapi
      Member

      My XML is valid….this is before I even import XML.

      When I duplicate the page spread…the tags inside the course node in the structure get moved to the first course node. The tags taht get moved are the ones in seperate placeholders.

      For an example, here is the structure

      <courses>
      <course><number/><name/><category/></course>
      <course><number/><name/><category/></course>
      </courses>

      Category is in a seperate placeholder. Number and name are in the main placeholder in the page.

      Now when I duplicate the page spread….here is what happens:

      <courses>
      <course><number/><name/><category/></category></category></course>
      <course><number/><name/><category/></course>
      <course><number/><name/></course>

      <course><number/><name/></course>
      </courses>

      See how the first course node has the category nodes from the duplicate courses???? This is before I import any XML.

Viewing 2 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads