OASIS XML Localisation Interchange File Format (XLIFF) TC

[xliff] enumerated attributes

  • 1.  [xliff] enumerated attributes

    Posted 02-19-2002 13:02
    Folks,
    
    I'm appending a list of attributes drawn from the DTD and the navigable
    specification which appear to be candidates for enumerated value lists.  My
    notes are formatted as follows:
    
    ############## (delimiter)
    
    <name of attribute>
    
    <definition copied from navigable specification>
    
    # possible values for the enumerated list: derived from notes in the
    specification.
    # comments/questions by me (I restrained myself here but will send a
    separate mail with some more general concerns <grin>).
    
    Regards,
    Eric
    
    #############
    
    datatype
    
    Data type - The datatype attribute specifies the kind of text contained in
    the
    element. Depending on that type, you may apply different processes to the
    data.
    
    # cdf | cpp | html | java | javascript | lisp | mif | pascal | plaintext |
    rtf | sgml | vbscript | winres | xml
    
    #############
    
    context-type
    
    Context type - The context-type attribute specifies the context and the type
    of resource or style of the data of a given element. For example, to define
    if
    it is a label, or a menu item in the case of resource-type data, or the
    style
    in the case of document-related data.
    
    # database | element | elementTitle | record | recordTitle
    
    
    #############
    
    phase-name
    
    Phase Name - The phase-name attribute allows to name uniquely a 
    element. It is also used in other elements in the file to refer to the given
     element.
    
    # This should be expressed as an ID <-> IDREF relation.
    
    #############
    
    process-name
    
    Process name - The name specifying the type of process a given 
    corresponds (e.g. Translation, Proofreading, Sizing, etc.).
    
    # translation | editing | proofreading | sizing
    
    #############
    
    count-type
    
    Count type - The count-type attribute specifies the purpose of the 
    element.
    
    # new | exact-match | fuzzy-match
    
    #############
    
    unit
    
    Unit - The units counted in a  element.
    
    # word | page
    
    #############
    
    restype
    
    Resource type - Indicates the type of the container element.
    
    # button | caption | checkbox | cell | dialog | file |
    # fn | footer | font | frame | header | heading |
    # keywords | label | listitem | menu | menuitem |
    # message | radio | shortcut | string | var
    
    #############
    
    size-unit
    
    Unit of size attributes - The size-unit attribute specifies the units of
    measure used in the maxheight, minheight, maxwidth, and minwidth
    attributes.
    
    # char | byte | pixel | glyph | dlgunit default='pixel'
    
    #############
    
    charclass
    
    Character class - This indicates that a translation is restricted to a
    subset of characters (e.g. ASCII only, Katakana only, uppercase only,
    etc.). A blank value indicates there is no limitation.
    
    #############
    
    origin
    
    Translation Match Origin - The origin attribute specifies where a
    translation match came from; for example, from a previous version of
    the same product, a different product, a shared translation memory,
    etc.
    
    #############
    
    ctype
    
    Content type - The type attribute specifies the content and the type
    of resource or style of the data of a given element. For example, to
    define if it is a label, or a menu item in the case of resource-type
    data, or the style in the case of document-related data.
    
    # paragraphBreak | lineBreak | image | bold | font | italic |
    # underscore | link
    
    #############
    
    id
    
    Identifier - The id attribute is used in many elements, as a unique
    reference
    to the original corresponding code data or format for the given element. the
    id element is not the identifier of a resource: use resname for that
    purpose.
    
    # should be of type ID, not CDATA
    
    #############
    
    rid
    
    Reference identifier - The rid attribute is used to link different elements
    that are related. For example, a reference to its definition, or paragraphs
    belonging to the same group, etc.
    
    # should be of type IDREF, not NMTOKEN
    
    #############
    
    mid
    
    Marker ID - Identifier for an  element.
    
    # why does this exist independently of "id" ?  
    # should be of type ID, not CDATA
    
    #############
    
    mtype
    
    Marker type - The mtype attribute specifies what an  element is
    defining within the content of a  or  element.
    
    
    # abbrev | datetime | name | phrase | protected | term