Skip to main content
Legend
Jan 25, 2021 7:58 AM UTC
Question

XML for cross-application portability

A naïve question, I suspect, but on the one hand we have FrameMaker with a "save as XML" option, on the other hand we have InDesign with an "Import XML" option. Are these two visions of XML on speaking terms?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    frameexpert
    Community Expert
    Community Expert
    Jan 25, 2021 12:25 PM UTC

    Not necessarily because XML is just a way of defining markup for content. As a simple example, consider these two XML snippets:

    <book>
      <title>War and Peace</title>
      <author>The Guy that Wrote It</author>
    </book>
    <contact>
      <title>Mr.</title>
      <firstName>Frank</firstName>
      <lastName>Jones</lastName>
    </contact>

    Both of them have a <title> element, but they mean two different things, depending on how the structure was designed. The structure of an XML document is usually specified in a DTD or schema.

    Translate
    www.frameexpert.com
    Legend
    Jan 25, 2021 1:57 PM UTC

    Good! that actually confirms my suspicions, as well as making perfect sense.

    Translate