[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: 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/ | +----------------------------------+---------------------------------+
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC