|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Allowing arbitrary content in Relax NG, how?
At 2002-11-14 12:04 +1300, Berend de Boer wrote:
>I want to allow arbitrary XML between certain tags, is that possible with
>Relax NG?
>
>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.
I hope this helps.
.................. Ken
--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
- North America: Feb 3 - Feb 7,2003
G. Ken Holman mailto:gkholman@C...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
Next conference training: 2002-12-08,03-03,06
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








