Philip Olson 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)


I like the (S) proposed entity idea. Of course we would
write it out as 5.1.0. instead of 5.1 but whatever :)

There is going to be about 100000 PECL extensions at
somepoint so the more PECL entities the better!

Agreed, even if I still don't like it :) Ok for me.

didou

Reply via email to