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] How to insert "placeholder" in my documentation

Hi Dave !

Thx for your quick reply.

Yes i think this could help, but there is one problem.

My customer name is saved in a .propertie file externally.

In my documentation for example i have a file

- index.xml
- chapter1.xml
- chapter2.xml    ... and so on

When i now want to use &customer_name in chapter1.xml i must define the
<!ENTITY customer_name "Loves My Product"> in the header of my
chapter1.xml , am I right ?

If it is so, there is my problem. The .properties file where the
customer name is stored is generated right before i convert my docbook

And so, the line <!ENTITY customer_name "customer name from .propertie
file"> has to be generated in a certain way.

Do you know what i mean ?

And so my question is how to do such things in docbook ?

Thanks for your help !


Dave Cushman wrote:
> Manuel,
> It sounds like you are trying to include entities.  For instance, you
> would define the entity <!ENTITY customer_name "Loves My Product">,
> then call for it in your document with &customer_name;.  When you
> convert, anywhere there is a call for &customer_name; the text "Loves
> My Product" will appear.  Does this help?
> Dave
> On Mar 22, 2008, at 9:19 AM, Manuel Wallnoefer wrote:
>> Hi all !
>> First of all i want to say that i'mnew to dockook. It's cool stuff, now
>> i'm working on my master theses and there i have to generate my
>> documentation with docbook.
>> My problem now is, that in my docu , there must be some "placeholder" in
>> the text, which are filled with a certain property at compile time.
>> These variable fields are something like the name of the customer, or
>> the logo of the customer and so on ...
>> I have a .propertie file wher all my variables are stored. Now i have to
>> bring them "into" my docbook docu.
>> A lot of variable things i solved with profiling attributes. But such a
>> thing like placeholders i couldn't find up to now.
>> Whats the best way to do this ?
>> Thanks for help !
>> ~manuel
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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