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: profiling and entities -


Hi All,

I'm trying to publish three very similar documents, from one master.
One can do this with profiling,

<section os="win">
</section>
<section os="lin">
</section>

and then publishing once for each profile. But this gets more
complicated if I want to use an entity, and reuse only one lot of
text:

This works, but is a LOT of overhead

<section>
<para> sfdfssdf sdfsfsdf sdfdsfdsf  <phrase
os="lin">&MYENT_LINUX</phrase><phrase
os="win">&MYENT_WINDOWS</phrase></para>
</section>

Is there someway to control entities with profiling

I could use

<section>
<para> sfdfssdf sdfsfsdf sdfdsfdsf  &MYOS; </para>
</section>

but if you use many variables it is a pain to change them each time,
and could induce errors.

Any thoughts on the best way to do this?

Thanks
Sam,


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