This is the mail archive of the
mailing list for the DocBook project.
RE: [docbook] Dtd, Xsd or RNG/RNC as your choice of schematechnology for your docset?
- From: Dave Pawson <davep at dpawson dot co dot uk>
- To: scott wiseman <scott at intercore dot net>
- Cc: Docbook List <docbook at lists dot oasis-open dot org>
- Date: Fri, 15 Apr 2005 18:30:34 +0100
- Subject: RE: [docbook] Dtd, Xsd or RNG/RNC as your choice of schematechnology for your docset?
- References: <677FB3692FBEDB4EA07549A29B8A5AFE0A5CDC@intsrvr.intercore.net>
- Reply-to: davep at dpawson dot co dot uk
On Thu, 2005-04-14 at 21:11 -0700, scott wiseman wrote:
> -----Original Message-----
> From: Rajal Shah [mailto:email@example.com]
> Sent: Friday, January 21, 2005 9:57 AM
> To: 'George Cristian Bina'
> Cc: firstname.lastname@example.org
> Subject: RE: [docbook] Dtd, Xsd or RNG/RNC as your choice of schema
> technology for your docset?
> I didn't know about Trang.. So thanks for the pointer.. It clearly
> solves my schema development choice.. (RNG/RNC) - assuming trang is
> robust and thorough.
> As regards combining XSD and DTD.. I've spent a lot of time with it..
> It's impossible to use them together if your XSD schema has namespaces..
> (at least from my experience).. I am guessing that people no longer use
> their own general entities ( such as &company; => "XYZ, Inc").. It was a
> very convenient feature, I guess that won't be available anymore..
Try other ways of working. Perhaps xinclude.
And no. My (biassed) view. Forget XSD, switch between simple dtd's and
relax-ng using trang, for newer stuff, using namespaces, rely on relax.
It works, its very solid, and there are validators around.
Its worth buying Eric's book to get your head round relax though,
unless you're very clever.