Non-negative decimal with attribute

Discussion in 'XML' started by kanpeter, Oct 20, 2010.

  1. kanpeter

    kanpeter Guest

    How can i declare some kind of element like currency which take non-
    negative decimal with attribute like
    <Buy currency="USD">7.8</Buy>
    kanpeter, Oct 20, 2010
    #1
    1. Advertising

  2. Martin Honnen, Oct 20, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. prem_eda
    Replies:
    5
    Views:
    7,854
    Pieter Hulshoff
    Oct 11, 2004
  2. Ven
    Replies:
    3
    Views:
    1,322
  3. Gilbert Fine
    Replies:
    8
    Views:
    899
    Zentrader
    Aug 1, 2007
  4. Vitaliy
    Replies:
    1
    Views:
    474
    Peter Otten
    May 29, 2008
  5. valpa
    Replies:
    11
    Views:
    1,513
    Steven D'Aprano
    Mar 24, 2009
Loading...

Share This Page