I have the following xml where the attributes for <onReturn> can have any name.
Is it possible to have a proper DTD for this? As far as I can see I must specify an attribute name but these are not known at the time of writing the DTD.
<onReturn RESULT1="A">THIS IS 1A</onReturn>
<onReturn RESULT1="B">THIS IS 1B</onReturn>
<onReturn RESULT2="C">THIS IS 2C</onReturn>
<onReturn RESULT3="D">THIS IS 3D</onReturn>
I am hoping for some syntax that will allow me to have a wildcard (something like the following)
<!ELEMENT onReturn (#PCDATA)>
<!ATTLIST onReturn * NMTOKEN #IMPLIED>