Next in thread → Next in month →

Re: [docbook-apps] Namespace

From
Bob Stayton <>
Date
2003-04-03T09:37:07+00:00
ID
Thread
Re: [docbook-apps] Namespace
On Thu, Apr 03, 2003 at 09:56:03AM +0200, Jeroen Alblas wrote:
> Hello,
>  
> I use XML Spy to built XSLT's to transform XML data to DocBook format.
> Is it possible to add a namespace to my XSLT that identifies docbook
> elements? (Primary purpose is to make the intellisense work, but
> shouldn't it be more common to use a namespace and prefixes for DocBook
> elements in XSLT, than not use it?)
>  
> If so, is there a common namespace prefix for DocBook (db: for instance)
> like fo: for XSL-FO?

There is no common namespace prefix for DocBook because
there is no namespace *name* for DocBook.  It is the
namespace name (URI reference) that is the important part
of a namespace declaration.  A prefix is arbitrary, and
may even be absent if DocBook is the default namespace.

See this message about why there is no DocBook namespace:

http://lists.oasis-open.org/archives/docbook/200205/msg00038.html


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: 
Next in thread → Next in month →