Sean Coates wrote:
Mehdi Achour wrote:

Sorry, I was meaning : I'll remove the entity and will substitute it with the real text (and the good version)


This might be the only solution, but I really hate repeating text (lazy programmer syndrome).

What about something like:
<!ENTITY pecl.moved-ver 'This extension has been moved to the <ulink url="&url.pecl;">PECL</ulink> repository and is no longer bundled with PHP as of PHP '>


and use it like:
<note><simpara>&pecl.moved-ver;5.1</simpara></note>

We already do something similar with:
&url.pecl.package;
(example: <ulink url="&url.pecl.package;classkit">&url.pecl.package;classkit</ulink>)


S


Looks more like a hack than &url.pecl.package. With &pecl.moved-ver; will be missing the final dot in the sentence. (of course, we can add it ourself after the version number, but I find this solution dirty)

didou

Reply via email to