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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: New name for Element name?

Well the useful thing I see in such a feature would be that one
could use his own
abbreviation or naming convention for his docbook tags. This can
be used for example
to have shorter tags when editing docbook documents at hand, even
with emacs and psgml.
I would rather use <p> than <para> when editing... Also, having
<s1> <s2>... intead of
<sect1>... etc.



Norman Walsh wrote:
> / Hermann Flacke <hermann.flacke@bluewin.de> was heard to say:
> | On Fre, 28 Jan 2000, Norman Walsh wrote:
> | > / Stephane Bortzmeyer <bortzmeyer@pasteur.fr> was heard to say:
> | > | On Wednesday 26 January 2000, at 22 h 38, the keyboard of Hermann Flacke
> | > | <hermann.flacke@bluewin.de> wrote:
> | > | > In order to make handling of an sgml/xml-file better, i would like to
> | > | > put some alias-name for within my document or to another dtd. So once
> | > | > there is "mychapter" (but really it is a normal "chapter") and once there
> | > | > ist "yourchapter" (but it still really is a normal "chapter").
> | > | The benefit is not obvious. May be you could explain more?
> | > Yes, I'm curious, too...
> | > But in any event, if you really want to change the element
> | > names, I can't think of any way to do it. You could use the
> | > 'remap' attribute to contain the name they want to use, I guess,
> | > and maybe make your editing tool display that?
> | Well, here we are again. The purpose of using different names for same
> | thing is to show the authors not a simple "title" but a "title of this"
> | and a "title of that" and so on. So the tool would map the entries
> | for the user. This way the user knows what he's writing. Parsing the
> | xml/sgml file would then retrieve "title of this", for example.
> I'm still at a loss. What tool are your authors using? How is it that
> <title> as a child of <chapter> isn't contextually enough information
> to indicate that the title is a chapter title?
>                                         Cheers,
>                                           norm

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

Powered by eList eXpress LLC