Empty Tags

Bill Wendling wendling at ganymede.isdn.uiuc.edu
Tue Jan 27 02:20:10 GMT 1998


Hello,

Is there a way in XML to make a tag conditionally empty?  That is, if you
have this declaration:

<!ELEMENT syntax - - (attr)*>
<!ATTLIST syntax TYPE (brief | full) brief>
<!ATTLIST syntax ATTRSET CDATA #IMPLIED>

if the attrset attribute of syntax has a value, could the user type it as:

<syntax attrset="foo"/>

instead of

<syntax attrset="foo">
</syntax>

?

|| Bill Wendling		 	wendling at ncsa.uiuc.edu


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