This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Namespace and DocBook XML


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]