Re: [xml-dev] Allowing arbitrary content in Relax NG, how?

From
David Rosenborg <>
To
xml-dev <>, "G. Ken Holman" <>
Date
2002-11-14T10:08:07Z
ID
<001d01c28bc5$bb5f0520$6500000a@KENNY>
Thread
Re: [xml-dev] Allowing arbitrary content in Relax NG, how?
> >I.e. something like:
> >
> >    <element name="start">
> >        <allowEverything/>
> >  </element>
> 
> In compact syntax I express this as follows:
> 
> element start = any
> any = mixed { element * {  ( attribute * { text } | text | any )* } }
> 
> I sometimes wonder if I can get rid of the "mixed" somehow.
> 

any = (text | element * { attribute * { text }*, any })*

Cheers,
David

------------------------------
David Rosenborg
Pantor Engineering AB