<!-- 
Localization Project Exchange Format (LPX)
Document Type Definition
Version 1.0 

 (C) 2005 PASS Engineering GmbH, Bonn, Germany

See http://www.passolo.com for further informations.
-->

<!ELEMENT lpx 	(file+, note?)>
<!ATTLIST lpx 
	version		(1.0 | 2.0)	#FIXED "1.0"
	sourceLang	CDATA		#REQUIRED
	targetLang	CDATA		#REQUIRED >
				
<!ELEMENT file (resource+, note?)>
<!ATTLIST file
	name		CDATA		#REQUIRED
	id		ID		#REQUIRED
	grouping	(true | false)	#REQUIRED >
	
<!ELEMENT resource (token+, note?)>
<!ATTLIST resource 
	id		ID		#REQUIRED
	type		CDATA		#REQUIRED
	name		CDATA		#REQUIRED >

<!ELEMENT token (source, target?, note?)>
<!ATTLIST token 
	id		ID		#REQUIRED
	type		CDATA		#REQUIRED
	name		CDATA		#REQUIRED
	parentID	IDREF		#IMPLIED >

<!ELEMENT source (layout?, note?, string+)>

<!ELEMENT target (layout?, note?, string+)>

<!ELEMENT layout (#PCDATA)>
<!ATTLIST layout
	position	CDATA		#IMPLIED
	size		CDATA		#IMPLIED
	font		CDATA		#IMPLIED
	color		CDATA		#IMPLIED
	flags		CDATA		#IMPLIED
	optimalSize	CDATA		#IMPLIED >

<!ELEMENT string (#PCDATA) >

<!ELEMENT note (#PCDATA) >

<!ELEMENT customProperties (property+)>

<!ELEMENT property (#PCDATA) >

<!ELEMENT binary-data (#PCDATA) >
<!ATTLIST binary-data
	form		CDATA		#IMPLIED >