h***@gmail.com
2005-10-07 06:35:24 UTC
Hi Folks
I would appreciate it if you could help me out with a problem I am
facing while defining a DTD as illustrated below:
<!ELEMENT SQLParser (updateOrder,primaryKeys)
<!ELEMENT updateOrder (cols+)>
<!ELEMENT cols (col+)>
<!ELEMENT col (#PCDATA)>
<!ELEMENT primaryKeys (cols+)>
<!ELEMENT cols (col+)>
<!ELEMENT col (#PCDATA)>
As both updateOrder and primaryKeys have the same sub-elements - I get
an error while defining the DTD which complains of duplicate entities
for 'cols' and 'col' entities. What do I need to do in order to get
around this problem (without having to rename the 'cols' element? Is
there a way to scope or namespace the 'cols' and 'col' entity with the
parent entity?
Any help with this matter is appreciated.
Regards,
-Haridev
I would appreciate it if you could help me out with a problem I am
facing while defining a DTD as illustrated below:
<!ELEMENT SQLParser (updateOrder,primaryKeys)
<!ELEMENT updateOrder (cols+)>
<!ELEMENT cols (col+)>
<!ELEMENT col (#PCDATA)>
<!ELEMENT primaryKeys (cols+)>
<!ELEMENT cols (col+)>
<!ELEMENT col (#PCDATA)>
As both updateOrder and primaryKeys have the same sub-elements - I get
an error while defining the DTD which complains of duplicate entities
for 'cols' and 'col' entities. What do I need to do in order to get
around this problem (without having to rename the 'cols' element? Is
there a way to scope or namespace the 'cols' and 'col' entity with the
parent entity?
Any help with this matter is appreciated.
Regards,
-Haridev