Empty Tags

Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Mon, 26 Jan 1998 20:19:57 -0600 (CST)


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@ncsa.uiuc.edu