Here is my original xml structure. I want to add another child node called
hyperlinks to the parent graphic. How would I modify this DTD to reflect
this new child being added.
Thank You for any help toward this end!
<graphics>
<graphic>
<tag>
<parameter/>
<parameter/>
<parameter/>
</tag>
<tag>
<parameter/>
</tag>
</graphic>
</graphics>
New Structure:
<graphics>
<graphic>
<tag>
<parameter />
<parameter />
<parameter />
</tag>
<tag>
<parameter />
</tag>
<hyperlinks>
<href />
</hyperlinks>
</graphic>
</graphics>
Original DTD
<!DOCTYPE graphics [
<!ELEMENT graphics (graphic*)>
<!ELEMENT graphic (tag*)>
<!ATTLIST graphic id ID #REQUIRED>
<!ATTLIST graphic name CDATA #IMPLIED>
<!ELEMENT tag (parameter*)>
<!ATTLIST tag id ID #REQUIRED>
<!ATTLIST tag name CDATA #IMPLIED>
<!ELEMENT parameter EMPTY>
<!ATTLIST parameter id ID #REQUIRED>
<!ATTLIST parameter name CDATA #IMPLIED>]>