5 Replies Latest reply on Mar 16, 2014 1:36 PM by [Jongware]

    What is the most popular reason for importing XML?

    JasonDD210 Level 1

      Hi

       

      New to this feature, so I would like to know what people are using it for. Presumably the XML is exported from another application. I need to get some idea of which applications people are generally exporting from, and why. Brief examples of workflows would be appreciated.

       

      Many Thanks

      Jason

        • 1. Re: What is the most popular reason for importing XML?
          Willi Adelberger Most Valuable Participant

          Export from databases or sheets.

          1 person found this helpful
          • 2. Re: What is the most popular reason for importing XML?
            JasonDD210 Level 1

            Thanks. Can you give me an example that is more specific?

            • 3. Re: What is the most popular reason for importing XML?
              Willi Adelberger Most Valuable Participant

              All databases support today export to XML.

              For InDesign the items have to be transformed in a special order.

              Upon import InDesign can attach a XML element to a specific style or element in the document.

              This helps to import a huge amount of informative content in formatted styles. Such methods are used for example for exhibition guides where information comes often very late, but the structure is foreknown or for special medicine the package will be produced automatically upon the content.

               

              XML makes sense when the structure is given but the content may vary. Think about it with catalogues, receipts, phone and address books or similar. Less for literature.

               

              Other methods to get the same result might be InDesign tagged text, which could also be exported from data bases.

               

              Or if someone is exporting IDML it is a package of XML files bundled together, zip compressed with the extension IDML. Here you can research a little bit how XML works with InDesign.

              1 person found this helpful
              • 5. Re: What is the most popular reason for importing XML?
                [Jongware] Most Valuable Participant

                All references in scientific articles we format need to be submitted to an external Reference Database. As the initial tagging requires a lot of manual labour (both in the sheer amount of tags per reference, and the human smarts needed to correctly interpret the original reference text), this is outsourced; we get the tagged files back as XML, with the original text order maintained but with added tags. We replace the original references in each article with the new ones, making sure the tags import as well.

                After corrections, deletions, and additions, we export the final reference list again to XML, ready to be sent off.

                 

                Since this circumvents the usual per-entire-story paradigm of InDesign's native XML handling,  both for import and export, we use an XSLT stylesheet and a set of custom scripts to handle importing, editing, and exporting.

                1 person found this helpful