On Wed, 16 Mar 2011 14:32:46 +0100
Lech Rzedzicki <[email protected]> wrote:

> Very good answer actually as what we're after is indeed a semantic
> markup, mostly.
> And just like with semantic endeavors there is no telling in how
> exactly it ends up being used in the future.
> The things we've envisioned so far is publishing only metric for
> European audiences for example, and we're definitely using @condition
> profiling for that, another scenario is perhaps finding just the items
> that weight less than 100kg etc


length = xsd:token
{pattern="[+\-]?([0-9]*(\.)?[0-9]*)(pt|em|in|mm|cm|pt|px|pc)"}

Thats a pattern I used for a value of 100pt or 27.5mm etc.

Perhaps you could adapt it for your use.



-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to