Re: embedding DocBook in another schema
"Bruce D'Arcus" <[email protected]> Thu, 10 Mar 2005 11:44:14 -0500
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Mar 10, 2005, at 10:26 AM, [email protected] wrote: > I was suprised though that within a DocBook element I still had to > specify the namespace. E.g. nxml-mode requires (in the instance xml > file) > > {db:para}{db:itemizedlist} ... {/db:itemizedlist}{/db:para} > > rather than > > {db:para}{itemizedlist} ... {/itemizedlist}{/db:para} That's just how namespaces in XML work. In: <db:para> <itemizedlist/> </db:para> Itemizedlist does not have a namespace. However, just as with XML in general, in RNG you can declare a default namespace. BTW, you know v5 of DocBook (now in testing as DocBook NG) is namespaced; right? Bruce