Re: Converting Relax-NG to Schema and DTD
David Tolpin <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
> Some of them I could work around, but others I have trouble seing the > problem right away. Which ones? > For comparison, these are the message from the XSD conversion: (4 total) > warning: choice between attributes and children cannot be represented; > approximating > warning: cannot represent an optional group of attributes; approximating > warning: cannot represent required wildcard attribute; approximating > > Note that these are all warnings about approximations, no errors. This > is exactly what I want. :-) XSD output is more elaborated than DTD's. Three ways -- push James Clark to enhance DTD output, hack the code of Trang and preprocess Relax NG so that Trang could handle. I stillt think that automatic preprocessing with XSL is doable and not that difficult. And while it may not a very general solution, it will definitely not introduce new problems into Trang. David Tolpin