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