<<sorry, don't seem to be subscribed to xerces-j-dev yet>>

Master,

I am having some trouble with enumeration in XML.

Rather than doing this,

<!ELEMENT TxnCode (BUY|SELL|DEP|INT)>

I need to do the following, but it seems to be invalid,

<!ENTITY % validCode "BUY|SELL|DEP|INT">

<!ELEMENT TxnCode (%validCode;)>

This type of syntax is available for ATTLIST, but what about
ELEMENT? I can't carry this value as an attribute in my application
and I want my elements to make use of the Entity/Enum features.

this would also allow me to change my enums in one place.

Grasshopper

Reply via email to