Export an InCopy file to XML

Before you can convert InCopy stories to XML data, you must have done the following:

  • Created or loaded element tags.

  • Applied tags to items in stories.

  • Rearranged elements in the Structure pane, if needed.

You can export all or a portion of the XML content in your document. Only content that is tagged can be exported.

  1. If you intend to export only a portion of the document, select the element in the Structure pane where you want exporting to begin.
  2. Choose File > Export.
  3. Choose XML for Save As Type (Windows) or Format (Mac OS).
  4. Type the name and specify the location of the XML file, and then click Save.
  5. In the Export XML dialog box, select the desired encoding scheme: UTF-8 or UTF-16.
  6. Do any of the following:

    Include DTD Declaration

    Exports the loaded DTD file along with the XML file. This option is only available if you loaded a DTD file in your document.

    View XML Using

    Opens the exported file in a browser, XML-editing application, or text editor. Choose the browser or application from the list.

    Export From Selected Element

    Starts exporting from the element you selected in the Structure pane. This option is only available if you selected an element before choosing File > Export.

    Export Untagged Tables AS CASL XML

    Exports any untagged tables in CALS XML format.

    Remap Break, Whitespace, And Special Characters

    Exports break, whitespace, and special characters as decimal character entities rather than straight characters.

    Apply XSLT

    Applies a stylesheet to define the transformation of the exported XML to HTML or another format. Select Browse (Windows) or Choose (Mac OS) to select an XSLT from the file system.

  7. Click Export to export the XML file.

Export tags only

  1. Choose Save Tags from the Tags panel menu.
  2. Type a name and specify a location for the file.
  3. For Encoding, select UTF-8, UTF-16, or Shift-JIS (for Japanese characters), and then click Save. InCopy saves the tags as an XML file.

Această lucrare este oferită sub licență Atribuire-Necomercial-FărăModificări 3.0 Ne-adaptată Creative Commons  Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.

Prevederi legale   |   Politică de confidențialitate online