docbook: Re: Docbook questions


Previous by date: 19 Nov 2003 18:29:45 -0000 Re: ldp-author-tools RPM package, jdd
Next by date: 19 Nov 2003 18:29:45 -0000 Re: Docbook questions, Saqib Ali
Previous in thread:
Next in thread: 19 Nov 2003 18:29:45 -0000 Re: Docbook questions, Saqib Ali

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

Previous by date: 19 Nov 2003 18:29:45 -0000 Re: ldp-author-tools RPM package, jdd
Next by date: 19 Nov 2003 18:29:45 -0000 Re: Docbook questions, Saqib Ali
Previous in thread:
Next in thread: 19 Nov 2003 18:29:45 -0000 Re: Docbook questions, Saqib Ali


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