[
Lists Home |
Date Index |
Thread Index
]
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
|