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

XML update woes with 'ghost' text

Return to Member Forum

  • Author
    Posts
    • #89610
      J Ross
      Member

      I’m having trouble working out if this is a quirk of InDesign, or something I’m doing incorrectly.

      If there are any XML InDesign geniuses out there, I’d love your input.

      Here goes…

      Let’s say this is a part of my XML file:
      <root>
      <person>
      <name>John</name>
      <company>BigShop</company>
      <email>xxATxxxx.xxx</email>
      </person>
      </root>

      I’ve imported the following into InDesign and each ‘person’ is in their own text frame.
      John
      BigShop
      xxATxxxx.xxx

      If I now go back to that XML file, and delete the e-mail address (but not the elements):
      <root>
      <person>
      <name>John</name>
      <company>BigShop</company>
      <email>xxATxxxx.xxx</email>
      </person>
      </root>

      InDesign still keeps that e-mail address.
      John
      BigShop
      xxATxxxx.xxx

      HOWEVER, if I delete the elements as well:
      <root>
      <person>
      <name>John</name>
      <company>BigShop</company>
      </person>
      </root>

      …and make sure I tick “Delete elements, frames, and content that do not match imported XML”…it works. The e-mail address is gone.

      However, that now means if the XML is updated again and an e-mail address goes back in, it won’t show in InDesign because there is no tagged area for it to go.

      So, is this form of ‘ghost’ text a quirk of working with InDesign and XML? Is it normal?

      Thanks if you can shed some light on this.

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