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] | [List Home]


Subject: Re: [docbook] Question about qandaentry


One way to do what you want is by assembling
modular content using XIncludes.
You can put your qandaentry elements in a separate
file (or many separate files if you like), and then pull
in the content to various locations in your actual documents.
You can XInclude the same content more than once
if you are careful.

For information on doing modular doc, see:

http://www.sagehill.net/docbookxsl/ModularDoc.html

For more specific information on reusing the same modular
piece more than once in your document, see:

http://www.sagehill.net/docbookxsl/DuplicateIDs.html

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Derek Chen-Becker" <derek@chen-becker.org>
To: "Bob Stayton" <bobs@sagehill.net>
Cc: <docbook@lists.oasis-open.org>
Sent: Wednesday, December 31, 2003 7:24 PM
Subject: Re: [docbook] Question about qandaentry


> Sorry, yes, that's what I mean. I was thinking of links because I'm
> thinking that the question is only defined in one place, but the FAQ TOC
> that automatically is generated would allow the link to the question to
> exist in more than one section.
>
> Derek
>
> Bob Stayton wrote:
> > Hi,
> > Could you please clarify what you mean by "linking" a
> > qandaentry into more than one qandadiv?  I think of
> > linking as a cross reference.  But I think you mean
> > you want to author the entry in one place and repeat
> > it entirely in another place.  Is that what you need?
> >
> > Bob Stayton
> > Sagehill Enterprises
> > bobs@sagehill.net
> >
> >
> > ----- Original Message ----- 
> > From: "Derek Chen-Becker" <derek@chen-becker.org>
> > To: <docbook@lists.oasis-open.org>
> > Sent: Tuesday, December 30, 2003 6:38 PM
> > Subject: [docbook] Question about qandaentry
> >
> >
> >
> >>Hi,
> >>     I'm working on a FAQ that's divided up into multiple sections. Some
> >>questions appear under more than one section. Is there a way to link a
> >>qandaentry into more than one qandadiv? I've been looking through the
> >>docbook reference and I see that some tags (links, in particular) can
> >>take text from the element they point to, but qandaentry doesn't appear
> >>to have this functionality. I would really like to link the questions
> >>because it seems that if I have to duplicate a question/answer then it
> >>raises the possibility that the answers could be out of sync with each
> >>other. Any suggestions would be appreciated.
> >>
> >>Thanks,
> >>
> >>Derek
> >>
> >>-- 
> >>+---------------------------------------------------------------+
> >>| Derek Chen-Becker                                             |
> >>| derek@chen-becker.org                                         |
> >>| http://chen-becker.org                                        |
> >>|                                                               |
> >>| PGP key available on request or from public key servers       |
> >>| ID: 21A7FB53                                                  |
> >>| Fngrprnt: 209A 77CA A4F9 E716 E20C  6348 B657 77EC 21A7 FB53  |
> >>+---------------------------------------------------------------+
> >>
> >>
> >>To unsubscribe from this list, send a post to
> >
> > docbook-unsubscribe@lists.oasis-open.org, or visit
> > http://www.oasis-open.org/mlmanage/.
> >
> >>
> >
> >
>
>
> -- 
> +---------------------------------------------------------------+
> | Derek Chen-Becker                                             |
> | derek@chen-becker.org                                         |
> | http://chen-becker.org                                        |
> |                                                               |
> | PGP key available on request or from public key servers       |
> | ID: 21A7FB53                                                  |
> | Fngrprnt: 209A 77CA A4F9 E716 E20C  6348 B657 77EC 21A7 FB53  |
> +---------------------------------------------------------------+
>
>
> To unsubscribe from this list, send a post to
docbook-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>



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