xsl-list
[Top] [All Lists]

Re: schemas and xslt 2.0 (was something else)

2004-09-13 08:54:30

On Sep 13, 2004, at 11:44 AM, Jeni Tennison wrote:

Your best bet is to use Trang to transform the RELAX NG schemas into XML Schema schemas. In fact, Trang does an amazing job of creating type and substitution group hierarchies from RELAX NG schemas.

Alas, as we've just been discussing on the relaxng-user list, there are some useful features in RNG (interleave in particular, but also attribute-based validation) that simply can't be represented in xml schema. As a result, my current trang-generated xsd gets me error reports when I use it to validate instances.

As much as I love the simplicity and elegance of RNG, I also appreciate its power.

Bruce



<Prev in Thread] Current Thread [Next in Thread>