i have an XML doc like this:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE school SYSTEM "">
<school>
<data>
<id>
<uid>1</uid>
</id>
<information>
<name>Michael</name>
<surename>Julius</surename>
</information>
<note>
<test>hans</test>
</note>
</data>
</school>
and a DTD File
<!ELEMENT school (data)>
<!ELEMENT data (id,information,note)>
<!ELEMENT id (uid)>
<!ELEMENT uid (#PCDATA)>
<!ELEMENT information (name,surename?)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT surename (#PCDATA)>
<!ELEMENT note (#PCDATA)> <--- unknown element type
I want to define the <note>
element with optional element types like
<note>
<test2>test2</test2>
</note>
or
<note>
<unknown name></unknown name>
</note>
any help? thankz