Re: [xml-dev] Re: Identifying the Top 10 xml Issues.. something with legacy support.. carries business data better..

From
Chris Burdess <>
To
Rick Jelliffe <>
Date
2006-07-25T08:08:50Z
ID
<>
Thread
Re: [xml-dev] Re: Identifying the Top 10 xml Issues.. something with legacy support.. carries business data better..
Rick Jelliffe wrote:
>    ...
>    <sch:rule context="starts-with($node, '$')">
>       <sch:assert test="number(string-after($node, $))"
>             >A currency attribute should have a number</sch:assert>
>    </sch:rule>
>   ...

That assertion would unfortunately preclude $0.00 ...

<pedantic>also, you mean "number(string-after($node, '$'))"</pedantic>
-- 
犬 Chris Burdess
   "They that can give up essential liberty to obtain a little safety
   deserve neither liberty nor safety." - Benjamin Franklin