<xsd:element name="trans-unit">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="xlf:source" />
<xsd:element minOccurs="0" ref="xlf:seg-source" />
<xsd:element minOccurs="0" ref="xlf:target" />
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element ref="xlf:context-group" />
<xsd:element ref="xlf:count-group" />
<xsd:element ref="xlf:note" />
<xsd:element ref="xlf:alt-trans" />
</xsd:choice>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict" />
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required" />
<xsd:attribute name="approved" type="xlf:AttrType_YesNo" use="optional" />
<xsd:attribute default="yes" name="translate" type="xlf:AttrType_YesNo" use="optional" />
<xsd:attribute default="yes" name="reformat" type="xlf:AttrType_reformat" use="optional" />
<xsd:attribute default="default" ref="xml:space" use="optional" />
<xsd:attribute name="datatype" type="xlf:AttrType_datatype" use="optional" />
<xsd:attribute name="phase-name" type="xsd:string" use="optional" />
<xsd:attribute name="restype" type="xlf:AttrType_restype" use="optional" />
<xsd:attribute name="resname" type="xsd:string" use="optional" />
<xsd:attribute name="extradata" type="xsd:string" use="optional" />
<xsd:attribute name="extype" type="xsd:string" use="optional" />
<xsd:attribute name="help-id" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="menu" type="xsd:string" use="optional" />
<xsd:attribute name="menu-option" type="xsd:string" use="optional" />
<xsd:attribute name="menu-name" type="xsd:string" use="optional" />
<xsd:attribute name="coord" type="xlf:AttrType_Coordinates" use="optional" />
<xsd:attribute name="font" type="xsd:string" use="optional" />
<xsd:attribute name="css-style" type="xsd:string" use="optional" />
<xsd:attribute name="style" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="exstyle" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute default="pixel" name="size-unit" type="xlf:AttrType_size-unit" use="optional" />
<xsd:attribute name="maxwidth" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="minwidth" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="maxheight" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="minheight" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="maxbytes" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="minbytes" type="xsd:NMTOKEN" use="optional" />
<xsd:attribute name="charclass" type="xsd:string" use="optional" />
<xsd:attribute default="yes" name="merged-trans" type="xlf:AttrType_YesNo" use="optional" />
<xsd:anyAttribute namespace="##other" processContents="strict" />
</xsd:complexType>
<xsd:unique name="U_tu_segsrc_mid">
<xsd:selector xpath="./xlf:seg-source/xlf:mrk" />
<xsd:field xpath="@mid" />
</xsd:unique>
<xsd:keyref name="KR_tu_segsrc_mid" refer="xlf:U_tu_segsrc_mid">
<xsd:selector xpath="./xlf:target/xlf:mrk|./xlf:alt-trans" />
<xsd:field xpath="@mid" />
</xsd:keyref>
</xsd:element>
|