Eric van der Vlist said:
> Le mercredi 28 juin 2006 à 17:14 +0100, Martin Bryan a écrit :
>> Jirka (and anyone else)
>>
>> Does
>> any = element * { attribute * { text }* & any* & text }
>> actually allow for the situation where you have mixed text (e.g. some
>> text
>> with an emphasized phrase within it?
>
> Yes, definitely.
I think that definition is for any element that can contain anything
including mixed content. While Martin wants just the content model.
My RELAX NG compact syntax and idioms is rough and poor, but I think it
would be clearer to split everything up: is this correct or too DTDish?
any-content = { text | any-element }*
any-attribute = { attribute * }*
any-element = element * { any-attribute, any-content }
Cheers
Rick
-- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Thu Jun 29 04:04:26 2006
This archive was generated by hypermail 2.1.8 : Thu Jun 29 2006 - 07:13:05 UTC