Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<! ELEMENT PInstr (Param*) >
<! ATTLIST PInstr
       name    CDATA #REQUIRED>


<! ELEMENT Param >
<! ATTLIST Param
       name    CDATA #REQUIRED
       value   CDATA #REQUIRED>


<! ELEMENT WXML (Doc) >
<! ATTLIST WXML
       unit    (pt|mm) #IMPLIED
       version CDATA   #IMPLIED>


<! ELEMENT Doc ([Dylation], [Template], [Styles], [Layers], [Colors], [UsedFonts], [MissingFonts], Spread+) >
<! ATTLIST Doc
       name          CDATA #IMPLIED
       url           CDATA #IMPLIED -- SANRobot relative path or absolute system path
       version       CDATA #IMPLIED -- InDesign version used for last document save
       lang          CDATA #IMPLIED -- R/W ISO 639-1 language code
       mode          CDATA #IMPLIED
       pluginVersion CDATA #IMPLIED -- Wedia plugin version used for last document save
       width         CDATA #IMPLIED -- R/W
       height        CDATA #IMPLIED -- R/W >


<! ELEMENT Dylation [Formats], [Errors]>
<! ATTLIST Dylation >
         active(true|false|demand|) #REQUIRED -- R/W
         undoable(true|false)       #IMPLIED  -- R >


<! ELEMENT Formats (Format*) >
<! ELEMENT Format (EMPTY) >
<! ATTLIST Format
         name   ID    #REQUIRED -- R
         width  CDATA #REQUIRED -- R
         height CDATA #REQUIRED -- R
         status CDATA #REQUIRED -- R>


<! ELEMENT Errors (Error*) >
<! ELEMENT Error (EMPTY) >
<! ATTLIST Error
         code   CDATA #IMPLIED -- R>


<! ELEMENT Template ([Bleed]) >
<! ATTLIST Template >


<! ELEMENT Bleed (EMPTY) >
<! ATTLIST Bleed
           left    CDATA #REQUIRED  -- R
           top     CDATA #REQUIRED  -- R
           right   CDATA #REQUIRED  -- R
           bottom  CDATA #REQUIRED  -- R>


<! ELEMENT Styles (Style*) >
<! ATTLIST Styles >


<! ELEMENT Style (CDATA) >
<! ATTLIST Style
        name ID #REQUIRED  -- external style name
        next ID #IMPLIED   -- only for paragraph style - the following style
        id   ID #IMPLIED   -- publishing software internal use
        type    (paragraph|character|table|cell)
        format  (css|odt)>


<! ELEMENT Layers (Layer*) >
<! ELEMENT Layer (EMPTY) >
<! ATTLIST Layer
         name   ID           #REQUIRED
         visible(true|false) #IMPLIED  -- R/W
         locked(true|false)  #IMPLIED  -- R/W>


<! ELEMENT Colors (Color*) >
<! ELEMENT Color (EMPTY) >
<! ATTLIST Color
         name   ID           #REQUIRED  -- R
         rgb    CDATA        #REQUIRED  -- R
         cmyk   CDATA        #IMPLIED   -- R
         mapped CDATA        #IMPLIED   -- R>


<! ELEMENT UsedFonts (Font*) >
<! ELEMENT MissingFonts (Font*) >
<! ELEMENT Font (EMPTY) >
<! ATTLIST Font
         family   CDATA      #REQUIRED -- R
         name     CDATA      #IMPLIED  -- R
         variant  CDATA      #REQUIRED -- R>


<! ELEMENT Spread ([Guides], Page+, (Group | Box)*) >
<! ATTLIST Spread
         name   ID           #REQUIRED
         pos    CDATA        #IMPLIED>


<! ELEMENT Guides (Guide*) >
<! ELEMENT Guide (EMPTY) >
<! ATTLIST Guide
          x CDATA #IMPLIED
          y CDATA #IMPLIED>


<! ELEMENT Page ([Guides], (Margins | Column | Gutter | List | Group | Box)* >
<! ATTLIST Page
           name    ID    #REQUIRED
           pos     CDATA #IMPLIED>


<! ELEMENT Margin (EMPTY) >
<! ATTLIST Margin
           left    CDATA #REQUIRED
           top     CDATA #REQUIRED
           right   CDATA #REQUIRED
           bottom  CDATA #REQUIRED>


<! ELEMENT Column (EMPTY) >
<! ATTLIST Column
           number  CDATA #IMPLIED
           width   CDATA #REQUIRED>


<! ELEMENT Gutter (EMPTY) >
<! ATTLIST Gutter
           number  CDATA #IMPLIED
           width   CDATA #REQUIRED>


<! ELEMENT Group (Group | Box)+ >
<! ATTLIST Group
           id       ID    #REQUIRED
           layer    CDATA #IMPLIED -- R/W
           groupTag CDATA #IMPLIED -- R/W
           left     CDATA #IMPLIED -- R/W
           top      CDATA #IMPLIED -- R/W
           width    CDATA #IMPLIED -- R/W
           height   CDATA #IMPLIED -- R/W
           rotate   CDATA #IMPLIED -- R/W
           xscale   CDATA #IMPLIED -- R/W
           yscale   CDATA #IMPLIED -- R/W>


<! ELEMENT Box (Img | Text | PInstr | Unknown) >
<! ATTLIST Box
           id        ID    #REQUIRED
           layer     v #IMPLIED -- R/W
           groupTag  CDATA #IMPLIED -- R/W
           left      CDATA #IMPLIED -- R/W
           top       CDATA #IMPLIED -- R/W
           width     CDATA #IMPLIED -- R/W
           height    CDATA #IMPLIED -- R/W
           rotate    CDATA #IMPLIED -- R/W
           xscale    CDATA #IMPLIED -- R/W
           yscale    CDATA #IMPLIED -- R/W
           editable  CDATA "1" #IMPLIED -- R/W integer value
                           -- 0 = uneditable; 1 = editable
           resizable CDATA "0" #IMPLIED -- R/W integer value
                           -- must be built by bitwise OR ("|" operator)
                           -- masks are : NOTHING=0; TOP=1; LEFT:2; RIGHT:4; BOTTOM:8
           movable CDATA "0" #IMPLIED -- R/W integer value
                           -- must be built by bitwise OR ("|" operator)
                           -- masks are : NOTHING=0; HORIZONTAL=1; VERTICAL=2
           rotatable CDATA "0" #IMPLIED -- R/W integer value
                           -- 0 = unrotatable; 1 = rotatable
           visible(true|false|ifNotEmpty) #IMPLIED -- R/W
                           -- "false" to hide, "true" to show,
                           -- "ifNotEmpty" to hide only if box has an empty content
           lockPosition (true|false) #IMPLIED -- R/W
                           -- true if the box has its geometry locked
           exportable (true|false) #IMPLIED >

<! ELEMENT Unknown (EMPTY) >


<! ELEMENT Img (EMPTY) >
<! ATTLIST Img
           url       CDATA #REQUIRED -- R/W
           embedded (true|false) #IMPLIED
           fit      (img2box|img2boxp|box2img|fillboxp|lefttop|nofit)"nofit" #IMPLIED -- R/W
           left      CDATA #IMPLIED -- R/W
           top       CDATA #IMPLIED -- R/W
           width     CDATA #IMPLIED -- R/W
           height    CDATA #IMPLIED -- R/W
           rotate    CDATA #IMPLIED -- R/W
           xscale    CDATA #IMPLIED -- R/W
           yscale    CDATA #IMPLIED -- R/W
           name      CDATA #IMPLIED -- R/W
           objId     ID    #IMPLIED -- R/W
           objType   ID    #IMPLIED -- R/W
           objPath   CDATA #IMPLIED -- R/W
           modName   CDATA #IMPLIED -- R/W
           modFunc   CDATA #IMPLIED -- R/W
           resizable CDATA "0" #IMPLIED  -- R/W integer : built by bitwise
                      -- OR'ing together (using the int "|" operator)
                      -- masks : NOTHING=0; TOP=1; LEFT:2; RIGHT:4; BOTTOM:8
           movable   CDATA "0" #IMPLIED  -- R/W integer : built by bitwise
                      -- OR'ing together (using the int "|" operator)
                      -- masks : NOTHING=0; HORIZONTAL=1; VERTICAL=2
           rotatable CDATA "0" #IMPLIED -- R/W integer : 0 = unrotatable; 1 = rotatable
           space     (RGB|CMYK)"" #IMPLIED> -- R


<! ELEMENT Text (CDATA | Field, BoundingBox | Box | Group)+ >
<! ATTLIST Text
           col                    CDATA              #IMPLIED
           height                 (auto|CDATA)"auto" #IMPLIED
           previousStory          ID                 #IMPLIED
           overset                CDATA              #IMPLIED -- R integer: index
                      -- of the 1st overflown character, -1 when no overflow
           count                  CDATA              #IMPLIED -- R integer: overflown
                      -- characters count, 0 when no overflow
           estimatedAddableChars  CDATA              #IMPLIED -- R integer: estimated
                      -- number of chars that can be added before overset, -1 on failure
           charLength             CDATA              #IMPLIED -- R integer: number of
                      -- characters currently displayed inside the text box
           fit                    (text2box|box2text|nofit)"nofit" #IMPLIED> -- R/W


<! ELEMENT Field (CDATA) >
<! ATTLIST Field
           name        ID    #REQUIRED -- R/W
           id          ID    #IMPLIED
           type        (Text|html|odt|Unknown)
           objId       ID    #IMPLIED  -- R/W
           objType     ID    #IMPLIED  -- R/W
           objPath     CDATA #IMPLIED  -- R/W
           modName     CDATA #IMPLIED  -- R/W
           modFunc     CDATA #IMPLIED  -- R/W
           charStyles  CDATA #IMPLIED  -- R/W
           paraStyles  CDATA #IMPLIED> -- R/W


<! ELEMENT BoundingBox (EMPTY) >
<! ATTLIST BoundingBox
         left   CDATA #REQUIRED -- R
         top    CDATA #REQUIRED -- R
         width  CDATA #REQUIRED -- R
         height CDATA #REQUIRED -- R>