D
D. Alvarado
Hello,
I am fairly new to xml. I wanted to indicate in my dtd that the
element LINE_ITEM must contain one occurrence of the elements ISBN,
QUANTITY, and TITLE, but in no particular order. However, I get a
'Invalid character in content model' error when I try to validate in
IE 6.0 or Cooktop 2.5. The line from my "my.dtd" file that it is
complaining about is
<!ELEMENT LINE_ITEM (ISBN & QuANTITY & TITLE)>
The snippet of XML from my "my.xml" file is:
<LINE_ITEM ID="1">
<QUANTITY>1</QUANTITY>
<ISBN>0030553725</ISBN>
<TITLE>Teaching Resources</TITLE>
</LINE_ITEM>
The manuals I've read say "&" is a vliad character for DTD
definitions, but for some reason, it is not working for me.
Any help is appreciated, Dave
I am fairly new to xml. I wanted to indicate in my dtd that the
element LINE_ITEM must contain one occurrence of the elements ISBN,
QUANTITY, and TITLE, but in no particular order. However, I get a
'Invalid character in content model' error when I try to validate in
IE 6.0 or Cooktop 2.5. The line from my "my.dtd" file that it is
complaining about is
<!ELEMENT LINE_ITEM (ISBN & QuANTITY & TITLE)>
The snippet of XML from my "my.xml" file is:
<LINE_ITEM ID="1">
<QUANTITY>1</QUANTITY>
<ISBN>0030553725</ISBN>
<TITLE>Teaching Resources</TITLE>
</LINE_ITEM>
The manuals I've read say "&" is a vliad character for DTD
definitions, but for some reason, it is not working for me.
Any help is appreciated, Dave