OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Handling of ranges and measurement units (metric and imperial) and fractions


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


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