It's ok, yes I correct this. Can I ask you something final? Secondly I want the WORKSTART, DATEOFBIRTH and DATEOFDEATH to be implied and the ORIGIN to have the default value American. So I change the dtd like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE ACTORS [
<!ELEMENT ACTORS...
tsuji I follow your instructions csrefully and in actors.dtd I corrected like this:
<?xml version="1.0" encoding="utf-8"?>
<!ELEMENT ACTORS (ACTOR)*>
<!ELEMENT ACTOR (STAGENAME,WORKSTART?,FAMILYNAME,FIRSTNAME,GENDER,DATEOFBIRTH?,DATEOFDEATH?,ROLETYPE,ORIGIN,NOTES)>
<!ELEMENT STAGENAME...
Thanks a lot for the reply, i had made a mistake yes i change actors to ACTORS, but it still have problems.
To be more detailed, I have to make an xml file named actors.xml and another named actors.dtd, so how can i connect them such as not to take the result "duplicate DOCTYPE declarations"...
Hi to everybody,
I'm trying for hours to find the error below but i can't.
I have an XML with the following code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE actors SYSTEM "actors.dtd">
<ACTORS>
<STAGENAME>George Abbott</STAGENAME>
<WORKSTART>1928</WORKSTART>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.