OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Simplified XLIFF element tree


Hi All,

Please find attached a simplified version of the XLIFF Tree Structure
(http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#AppTree).

I removed binary support, props and counts, redundant inline elements,
segmentation and a few more things.  

Inline elements could be trimmed more, as there are two versions (<ph> and
<bpt>/<ept> for holding formatting codes plus <x/> and <g> for referencing
codes hidden in the skeleton).

All removed elements could live in a separate optional namespace.

Of course, this is just a starting point.

Best regards,
Rodolfo
--
Rodolfo M. Raya   <rmraya@maxprograms.com>
Maxprograms      http://www.maxprograms.com


The following figure shows the possible structure as a tree. Each element is followed by notation indicating its possible occurrence according to the corresponding legend.

(legend: 1 = one
 + = one or more
 ? = zero or one
 * = zero, one or more)

<xliff>1
| |
| +--- [Extension Point]
| |
+--- <file>+
 |
 +--- <header>?
 | |
 | +--- <skl>?
 | | |
 | | +--- (<internal-file> | <external-file>)1
 | |
 | +--- [Extension Point]
 | |
 | +--- <note>*
 |
 +--- <body>1
 |
 +--- <group>*
 | |
 | +--- [Extension Point]
 | |
 | +--- <note>*
 | |
 | +--- At least one of: (<group>* <trans-unit>*)
 |
 +--- <trans-unit>*
 | |
 | +--- <source>1
 | | |
 | | +--- [Inline Elements]
 | |
 | +--- <target>?
 | | |
 | | +--- [Inline Elements]
 | |
 | +--- [Extension Point]
 | |
 | +--- <note>*
 | |
 | +--- <alt-trans>*
 | |
 | +--- <source>
 | | |
 | | +--- [Inline Elements]
 | | 
 | | +--- <target>+
 | | |
 | | +--- [Inline Elements]
 |
 +--- [Extension Point]

Struct_Extension_Elements

Inline Elements:

---+--- <ph>*
 | |
 | +--- [Inline Elements]
 |
 |
 +--- <bpt>*
 | |
 | +--- [Inline Elements]
 |
 +--- <ept>*
 | |
 | +--- [Inline Elements]
 |
 +--- <g>*
 | |
 | +--- [Inline Elements]
 |
 +--- <x/>*
 | |
 | +--- [Inline Elements]
 |
 +--- <mrk>*
 |
 +--- [Inline Elements]



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]