RE: [xliff] Simplified XLIFF element tree

From
Rodolfo M. Raya <>
Date
2010-08-23T23:21:48+00:00
ID
[email protected]
Thread
RE: [xliff] Simplified XLIFF element tree
> -----Original Message-----
> From: Yves Savourel [mailto:]
> Sent: Monday, August 23, 2010 6:40 PM
> To: 'xliff'
> Subject: RE: [xliff] Simplified XLIFF element tree
> 
> > However, the main problem I see with this approach is
> > the lack of encapsulation and connectivity between
> > extracted text and its translation units.
> 
> +1. This is exemplified by the ids of <extr-text> and <group>: they are
> duplicated, showing those elements should have a single parent.


No necessarily. 

You can create an unsegmented XLIFF and put all elements that hold unsegmented text together. Later, when you segment the text, you can add the corresponding <group> elements  at the end of the file. All you need is something that associates unsegmented text with the segmented version and an attribute ("ïd"or something else) is enough.

Regards,
Rodolfo
--
Rodolfo M. Raya   <>
Maxprograms      http://www.maxprograms.com