← Prev in month ← Prev in thread

profiling and entities -

From
Samuel Wright <>
Date
2007-10-17T11:12:55+00:00
ID
Thread
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,
← Prev in month ← Prev in thread