#FIXED vs. default attribute value

Discussion in 'XML' started by Stephan Melchior, Nov 21, 2003.

  1. What is exactly the difference between the following attibute-definitions

    <!ATTLIST root att (value) "value">
    <!ATTLIST root att (value) #FIXED "value">

    Greetings
    Stephan
    Stephan Melchior, Nov 21, 2003
    #1
    1. Advertising

  2. In article <>,
    Stephan Melchior <> wrote:

    >What is exactly the difference between the following attibute-definitions
    >
    ><!ATTLIST root att (value) "value">
    ><!ATTLIST root att (value) #FIXED "value">


    In effect, none.

    The choice may convey different intentions: you might use the first case
    if you envisage adding new values later.

    -- Richard
    --
    Spam filter: to mail me from a .com/.net site, put my surname in the headers.

    FreeBSD rules!
    Richard Tobin, Nov 21, 2003
    #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. johnp
    Replies:
    4
    Views:
    3,653
    Toby Inkster
    May 23, 2005
  2. Replies:
    2
    Views:
    1,062
    Henry S. Thompson
    Mar 6, 2006
  3. Replies:
    1
    Views:
    4,235
    Joe Kesselman
    Aug 2, 2006
  4. Replies:
    8
    Views:
    512
  5. dkmd_nielsen
    Replies:
    6
    Views:
    198
    Joel VanderWerf
    Nov 26, 2008
Loading...

Share This Page