[
Lists Home |
Date Index |
Thread Index
]
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@CraneSoftwrights.com
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
|