OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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:


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: bobs@sco.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]