docbook: Thread: Re: Docbook questions


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: Docbook questions
From: "John R. Daily" ####@####.####
Date: 19 Nov 2003 18:29:45 -0000
Message-Id: <200311191829.hAJITiAD018423@ms-smtp-01-eri0.ohiordc.rr.com>

At (time_t)758307100 Saqib Ali wrote:

> ...or import that specific section in another document, just by
> using XPath.

But now we're at cross-purposes.  It's easier to find the
section, but harder to import it, because we could be attempting
to import a <sect1> into a <sect2> context.

IIRC, there's now a standard way to perform an "import as"
operation, but all nested sections will have to be renamed as
well!

I wouldn't be surprised to see <sectN> dropped from DocBook as
part of the contemplated major refactoring; I seem to recall Norm
expressing the opinion that, were he to start over from scratch,
he'd only include <section>.  Unfortunately, I can't find a
reference to that email, so that might be wishful thinking.  :-)

If we're that concerned about being able to identify specific
block elements, putting meaningful id attributes on them would
make extraction more robust.

(This really should move to docbook@.  CC'ing, and setting
followups there.)

-John
Subject: Re: Docbook questions
From: Saqib Ali ####@####.####
Date: 19 Nov 2003 18:43:25 -0000
Message-Id: <Pine.GSO.4.55.0311191025490.2005@sjgcs1.stsj.seagate.com>

> But now we're at cross-purposes.  It's easier to find the
> section, but harder to import it, because we could be attempting
> to import a <sect1> into a <sect2> context.

I see your point, and completely agree with the problem that you stated
above. :) Infact I have encountered a similar problem using a different
DTD before. :)

Saqib Ali
-------------
http://validate.sf.net <---- HTML/XHTML/DocBook Validator


[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.