Dnia wtorek, 8 marca 2011 o 22:35:13 Bob Stayton napisał(a):
> Hi,
> I once wrote a paper that had two sets of units, one set for an American audience and
> one using metric units for most of the rest of the world. I used conditional text and
> produced two different documents using profiling. The DocBook markup looked like this:
>
> <phrase condition="american">2.2 pounds</phrase><phrase condition="metric">1
> kilogram</phrase>
>
It would be better to calculate such equivalent representations using XSLT expressions IMHO. This also affects billions versus milliards.
Chris