•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 373,099 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,848 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser:
Views: 571 | Replies: 0 | Solved
![]() |
•
•
Join Date: Mar 2006
Posts: 28
Reputation:
Rep Power: 3
Solved Threads: 0
Basically im trying to design a dtd that represents a collection of movies
Not sure why but when i try validate the dtd it says undetermined element declaration
'Movies' but i have declared it havnt i?
could someone take a look at my code give me some pointers ? thanks
Not sure why but when i try validate the dtd it says undetermined element declaration
'Movies' but i have declared it havnt i?
could someone take a look at my code give me some pointers ? thanks
<!--Compulsary to have a movie name-->
<!ELEMENT Movies (movie_name)(#PCDATA) #REQUIRED>
<!--Optional to have distributer listed-->
<!ELEMENT Distributor (#PCDATA) #IMPLIED>
<!--Compulsary to have a first and last name
for lead actors-->
<!ELEMENT Lead_Actors (First) (Last) #REQUIRED>
<!ELEMENT First (#PCDATA)>
<!ELEMENT Last (#PCDATA)>
<!--one of more reviews including-->
<!ELEMENT Review_Info(Rev_Name+,Star_Rat+,
Text+)
<!ELEMENT Rev_Name(#PCDATA)>
<!ELEMENT Star_Rat(#PCDATA)>
<!ELEMENT Text(#PCDATA)>
<!--reference to other movies the actor is in-->
<!ATTLIST Move id ID #IMPLIED title CDATA #IMPLIED>
<!ATTLIST Other_Movies IDREF REQUIRED#>
<!--Specify the suitable audience rating-->
<!ELEMENT Rating(G,PG, M , R)>
<!ELEMENT G(#PCDATA)>
<!ELEMENT PG(#PCDATA)>
<!ELEMENT M(#PCDATA)>
<!ELEMENT R(#PCDATA)>
<!--Cinemas the movie is being showed at-->
<!ELEMENT CINEMA_NAME(#PCDATA)>
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb XML, XSLT and XPATH Marketplace
Similar Threads
- Display a movie clip on a button click (Graphics and Multimedia)
- IPB vs. phpBB (Growing an Online Community)
- SWF - video viewing problems - help! (Web Developers' Lounge)
- XHTML with PHP validation ??? (HTML and CSS)
- Parse Error in PHP (PHP)
- How To Create A Free Web Host (PHP)
- Scaling Flash Movies in HTML (Graphics and Multimedia)
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: XSLT to copy a specific number of nodes
- Next Thread: I Need a Help on WAP Application on Database connectivity


Linear Mode