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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Use of xincludes vs. entities


Sam Fischmann wrote:

> Jirka, your proposal is valuable because it would allow me to define
> small text variables for each of several contexts and store them in
> separate definition files. I could then use profiling to conditionally
> include definition files at the top level of a book and not have to
> look at miles of logical cruft every time something is wrong with a
> text variable in my documentation. It does not require multiple
> catalog sets, would be easy for editors to support, and unlike pure
> entity-based inclusion, there's an elegant system for overrides. The
> only unknown here for me is how validation would work. I can see
> myself putting definitionfile tags at the top of every single file via
> a global entity so that XIncluded files validate correctly, but that's
> inelegant again.

The idea is to extend DocBook with these new transclusion elements. Of
course if you are creating modular documents in any way it is wise to
validate result document after all transclusions are resolved.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      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
------------------------------------------------------------------

OpenPGP digital signature



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