7 Replies Latest reply on Feb 13, 2008 7:33 AM by liedzeit

    Polulate Text frames with XML content - PLEASE help me.

    Level 1
      Hi guys,

      I'm trying to import some xml data to an indesign file. Here are the steps I'm doing:

      1- create new document
      2- create master page
      3- create empty text fields in the master to be tagged
      4- import tags from xml
      5- import xml

      then it simply don't auto populate the text fields wiith the xml content.
      I've already spent about 10 hours trying to figure out what can be the problem...

      My structure in indesign (BEFORE importing XML):

      businesscards
      Card
      employeeName
      employeePosition
      employeeAddressln1
      employeeAddressln2
      employeePhone
      employeeEmail


      My structure in indesign (AFTER importing XML):

      businesscards
      Card <!-- has dropdown arrow with xml content inside -->
      Card <!-- has dropdown arrow with xml content inside -->
      Card <!-- has dropdown arrow with xml content inside -->
      Card <!-- has dropdown arrow with xml content inside -->
      employeeName
      employeePosition
      employeeAddressln1
      employeeAddressln2
      employeePhone
      employeeEmail


      But it doesn't populate the text frames...
      I've already tried to write text in the text frames and tagged them, so I can see those colored brackets. But it doesn't work and makes a mess in the structure.

      Please, can someone help me, do you know a good step by step tutorial online? What am I doing wrong?

      ***************************

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <businesscards>
      <Card>
      <!-- contents of Suzan Reed -->
      <employeeName>Suzan Reed</employeeName>
      <employeePosition>Director of Marketing</employeePosition>
      <employeeAddressln1>506 SE 72nd Avenue</employeeAddressln1>
      <employeeAddressln2>Portland, Oregon 97215</employeeAddressln2>
      <employeePhone>503-481-5858 direct</employeePhone>
      <employeeEmail>suzan@metafusiontraining.com</employeeEmail>
      </Card>
      <Card>
      <!-- contents of Gabriel Powell -->
      <employeeName>Gabriel Powell</employeeName>
      <employeePosition>Senior Training Director</employeePosition>
      <employeeAddressln1>25 NW 23rd Place, Suite 6-122</employeeAddressln1>
      <employeeAddressln2>Portland, Oregon 97210</employeeAddressln2>
      <employeePhone>503-515-5404 direct</employeePhone>
      <employeeEmail>gabriel@metafusiontraining.com</employeeEmail>
      </Card>
      <Card>
      <!-- contents of Dale Erwing -->
      <employeeName>Dale Erwing</employeeName>
      <employeePosition>Trainer</employeePosition>
      <employeeAddressln1>5131 Buffalo Ave. #20</employeeAddressln1>
      <employeeAddressln2>Sherman Oaks, CA 91423</employeeAddressln2>
      <employeePhone>310-795-8943 cell</employeePhone>
      <employeeEmail>dale@metafusiontraining.com</employeeEmail>
      </Card>
      <Card>
      <!-- contents of Jim Conner -->
      <employeeName>Jim Conner</employeeName>
      <employeePosition>Trainer</employeePosition>
      <employeeAddressln1>25 NW 23rd Place, Suite 6-122</employeeAddressln1>
      <employeeAddressln2>Portland, Oregon 97210</employeeAddressln2>
      <employeePhone>503-515-2376 cell</employeePhone>
      <employeeEmail>jim@metafusiontraining.com</employeeEmail>
      </Card>
      </businesscards>

      ********************

      Thanks in advance