RE: [docbook] Tags to allow re-use of content from other documents

From
Dhris Corg
Date
2007-01-17T09:36:16+00:00
ID
633D713D0379D411986A00508BF30883020D2683@dogsbone
Thread
RE: [docbook] Tags to allow re-use of content from other documents
Yes the UML tool content will be output in XML and you have read the
question correctly. XInclude and Xpointer does offer a solution. Thanks.

The only downside it seems is that we are currently using FOP which I think
will mean the introduction of another tool to resolve Xinclude entries prior
to validation (FOP can be integrated with Xereces but ignores Xpointer and
only works with whole docs - same as the way entities would work and not
sure of benefit of Xinclude). xmlint (xmllib2)maybe? I guess that is a
discussion for another mail list unless you have experience of any relevant
tools to validate Xinclude?

Rgds
Chris

-----Original Message-----
From: David Cramer (Tech Pubs) [mailto:]
Sent: 16 January 2007 16:09
To: Camille B嶲nis; Chris Borg
Cc: docbooklist
Subject: RE: [docbook] Tags to allow re-use of content from other
documents

If I'm reading the question correctly, it sounds more like an xinclude
thing:
http://www.sagehill.net/docbookxsl/ModularDoc.html

Using that he can pull in arbitrary content from one xml doc into another
(I'm assuming that the modeling tool's content is in xml). 

David 

> -----Original Message-----
> From: Camille B嶲nis [mailto:] 
> Sent: Tuesday, January 16, 2007 9:23 AM
> To: Chris Borg
> Cc: docbooklist
> Subject: Re: [docbook] Tags to allow re-use of content from 
> other documents
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> maybe all you need is profiling?
> http://www.sagehill.net/docbookxsl/Profiling.html
> 
> That question would go to docbook-apps list then.
> 
> Camille.
> 
> Chris Borg a 嶰rit :
> > Hi all,
> > 
> > I am looking to determine if there any tags that can be 
> applied to a 
> > Docbook book that will allow re-use of content by another 
> Docbook book?
> > 
> > We will be creating the source docbook xml document from a 
> modelling 
> > tool that contains some comments and want to re-use these 
> comments as 
> > paragraph text and glossary entries in a target book. We 
> hope that by 
> > doing this it will allow us to maintain the comments in the 
> modelling 
> > tool and keep the target Docbook file that uses this upto 
> date with minimal intervention.
> > 
> > Also, could there be any implications for subsequent HTML 
> or PDF outputs?
> > 
> > Thanks and regards
> > Chris
> > 
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: 
> > For additional commands, e-mail: 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
> 
> iD8DBQFFrO3ujv9P65BfOUMRAhQTAKC0rIvt3T5jEAR+h5DYupEJGvjuqwCfWAtr
> EIq3DsBJHTwMSwDLJ+NWwVI=
> =kqmB
> -----END PGP SIGNATURE-----
>