xsl-list
[Top] [All Lists]

Re: Re: XML / XSL Editors

2005-01-06 10:09:36
On Jan 6, 2005, at 11:59 AM, António Mota wrote:

Also, i had a look at Relax NG but didn't understand what it is. It
seems a alternative to Schema?

Yes. And many people believe a superior alternative. OpenOffice, DocBook and TEI -- to name just a few high profile document schemas -- are all authored in RNG.

A replacement for DTD?

Yes.

However it's not a W3C standard, or is it?

No.  IIRC, it is an ISO standard though.

I like RNG because it's easy to learn (before learning it, I didn't even know how to write a DTD), but is more powerful (for what I do) than XML Schema. Simple examples:

in RNG, you can condition validation on attributes; in XSD you cannot
in RNG you can validate irrespective of element order; in XSD you cannot

Both of these features are really useful.

The other thing I like about RNG is Trang, which is a tool that allows you to convert RNG schemas to XSD or DTD (assuming you don't use RNG-only features, of course).

Bruce


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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