How about prefix and localname? Wouldn't those be considered part of the markup, and appropriate class names for tag?

How about a namespace attribute:

 xmlns=http://docbook.org/ns/docbook

Wouldn't that be marked with tag with class="attribute"? It is part of the markup in a document.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


----- Original Message ----- From: "Johnson, Eric" <[EMAIL PROTECTED]>
To: "Docbook List" <[email protected]>
Sent: Wednesday, March 07, 2007 1:01 PM
Subject: RE: [docbook] namespace markup


I think Jirka is right. I currently use <uri> for XML namespaces for the
very reasons cited. The namespace is not a tag or a proper part of the
markup.
I do not think that a provision should be made in <tag> for namespaces.
Perhaps it can be added to <uri>'s type attribute...

-----Original Message-----
From: Jirka Kosek [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 3:52 PM
To: Bob Stayton
Cc: Chris Chiasson; Dave Pawson; Docbook List
Subject: Re: [docbook] namespace markup

Bob Stayton wrote:
> In DocBook 4.5, the <sgmltag> element has a class attribute with
> enumerated values.  One of those enumerated values is 'namespace'.
> For some reason, the equivalent <tag> element in 5.0 is
missing that
> value and a few others. I think it is an oversight, and I
filed an RFE
> to see if it should get fixed.  So I think this is how a namespace
> name should be marked up:
>
> <tag class="namespace">http://docbook.org/ns/docbook</tag>

I still think that

<uri type="xmlnamespace">http://docbook.org/ns/docbook</uri>

is much more proper way of marking namespace. Namespace
itself is not "tag", nor other part of markup.

Jirka

--
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member
------------------------------------------------------------------
 Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to