Re: WOFF and extended metadata

On 2 Jun 2010, at 16:56, Dave Crossland wrote:

> 
> I am aware this may be too many levels deep, but I'd like to suggest:
> 
> 
> <extensions>
> 	<group>
> 		<set lang="en">
> 			EU Greeting
> 			<item>
> 				Message
> 				<value>Hello!</value>
> 			</item>
> 			<item>
> 				Date
> 				<value>2010-06-01</value>
> 			</item>
> 		</set>
> 
> 		<set lang="nl">
> 		EU Groet
> 			<item>
> 				Bericht
> 				<value>Hallo!</value>
> 			</item>
> 			<item>
> 				Datum
> 				<value>2010-06-01</value>
> 			</item>
> 		</set>
> 
> 		<set lang="fr">
> 			EU Salut
> 			<item>
> 				Message
> 				<value>Bonjour!</value>
> 			</item>
> 			<item>
> 				Date
> 				<value>2010-06-01</value>
> 			</item>
> 		</set>
> 	</group>
> 
> </extensions>

No; please don't mix text content and sub-elements in this way. That tends to complicate processing. Life is simpler if elements contain EITHER child elements OR character data, not a mixture.

JK

Received on Wednesday, 2 June 2010 16:31:19 UTC