This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
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: bobs at sco dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org