[relaxng-user] Converting Relax-NG to Schema and DTD

David Tolpin dvd at davidashen.net
Tue Jan 13 01:18:22 ICT 2004


> I suspect the answer is (rather sadly) obvious: you have to go through 
> your RelaxNG schema and
> work out the bits which trang cannot translate. Then adjust the schema 
> until it _does_ work.
> If you have a requirement to produce DTDs, you may have to constrain the 
> schema features you use.
> It's a fact of life in this intermediate DTD/Schema phase of history.

What about writing a transformation that will replace difficult constructs
with more general ones? 

a&b with (a|b)*, for example?

David


More information about the relaxng-user mailing list