Goals: XML Event Interface

David Megginson ak117 at freenet.carleton.ca
Thu Dec 18 15:01:15 GMT 1997


Peter Murray-Rust writes:

 > >- an isSpecified flag for attributes
 > 
 > Not quite clear what this is. I assume it is NOT the value of the Default
 > in the ATTLIST (i.e. "#IMPLIED").

DTD:

  <!ATTLIST foo
    bar CDATA "hack">

Document instance:

  <foo>...</foo>  
    The attribute "bar" has the value "hack", and is not specified
    (i.e., it is a defaulted value).

  <foo bar="hack">...</foo>
    The attribute "bar" has the value "hack", and is specified.

  <foo bar="hello">...</foo>
    The attribute "bar" has the value "hello", and is specified.


All the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list