This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Namespace and DocBook XML
- To: Jens Stavnstrup <js at ddre dot dk>, docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Namespace and DocBook XML
- From: Elliotte Rusty Harold <elharo at metalab dot unc dot edu>
- Date: Thu, 08 Nov 2001 09:40:08 -0400
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <Pine.OSF.4.21.0111080759510.107407-100000@TIN.ddre.dk>
At 8:16 AM +0100 11/8/01, Jens Stavnstrup wrote:
>1. Does the exists an official DocBook XML namespace URI (I havn'r been
> able to find one)
>
No, there is not. Docbook predates namespaces.
>2. I have developed tiny XML language, that is basicly a heiracical
>database. The content model of all the lower level elements are stricty
>DocBook XML (i.e para, itemizedlist, etc.)
>
>In another DocBook document, I have embedded PIs, that refer to
>nodes in my database. Applying a special XSLT stylesheet, have the effect
>of merging my DocBook document with the database, and thus procducing a
>new DocBook documet.
>
>I am able to validate both the original document and the resulting
>document as beeing DocBook compliant.
>
>My question is : how do I validate my database (is it at all possible
>with DTDs) ?
Write a DTD for your database document, add a DOCTYPE declaration
pointing to that DTD, and validate it as you would a Docbook or any
other document.
>How should my DTD look like ?
>
This depends on what your document looks like.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
| http://www.ibiblio.org/xml/books/bible2/ |
| http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>