2 Replies Latest reply on Oct 28, 2008 9:40 AM by Emanuele Radaelli

    XMLImportPreference

    Emanuele Radaelli Level 1
      Hi,
      trying to set XML import preferences on Document or Application but it keeps on giving me error. Syntax is really simple, I used it several times for PDF exporting options and similar but this time doesn't seem to work... any bug?
      I'm working with InDesign CS3 (mac) and scripting in javaScript.
      Here's the code...

      with(app.XMLImportPreference)
      {
      ignoreWhitespace = true;
      importToSelected = false;
      createLinkToXML = true;
      repeatTextElements = true;
      ignoreUnmatchedIncoming = true;
      ignoreWhitespace = true;
      removeUnmatchedExisting = true;
      }

      Thanks anticipately!
      C.