OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


> >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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS