Hi guys well im new to this forum and to dtd's.
The problem that I am having is trying to give my "price" a default currency value “£”.
The code that I have come up with for my dtd is posted below;
<!ELEMENT catalogue (movie+)>
<!ELEMENT movie (title,director,actor,category,place,time,price)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT director (#PCDATA)>
<!ELEMENT actor (CDATA)>
<!ELEMENT category (CDATA)>
<!ELEMENT place (#PCDATA)>
<!ELEMENT time (CDATA)>
<!ELEMENT price (CDATA)>
Any help would be greatly appreciated
The problem that I am having is trying to give my "price" a default currency value “£”.
The code that I have come up with for my dtd is posted below;
<!ELEMENT catalogue (movie+)>
<!ELEMENT movie (title,director,actor,category,place,time,price)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT director (#PCDATA)>
<!ELEMENT actor (CDATA)>
<!ELEMENT category (CDATA)>
<!ELEMENT place (#PCDATA)>
<!ELEMENT time (CDATA)>
<!ELEMENT price (CDATA)>
Any help would be greatly appreciated