Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

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





 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor