Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 6th, 2011, 10:24 AM
kast kast is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 6 kast User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 46 m 30 sec
Reputation Power: 0
Internal DTD

Can anyone help me. I can't figure out why i'm getting an error. I was asked to:
Within the internal DTD, declare the following items:
The product_list element, containing the child element sequence hlist, slist
An external general entity named hw_list, referencing the hwlist.xml file
An external general entity named sw_list, referencing the swlist.xml file
An external parameter entity named hw_dtd, referencing the hw.dtd file
An external parameter entity named sw_dtd, referencing the sw.dtd file

Below the entity declaration within the DTD, insert references to the hw_dtd and sw_dtd parameters. Add the DTD comments "hardware list DTD" and "software list DTD" to the corresponding lines of code

Within the posuct_list element, insert references for the hw_list and sw_list entities.

Any Help Would be Great. This is what I have so far:
<!-- document type declaration follows -->
<!DOCTYPE product_list [
<!ELEMENT product_list (Hardware+, Software+)>
<!ENTITY % sw_decl SYSTEM "SW.dtd">
<!ENTITY % hw_decl SYSTEM "HW.dtd">
<!ENTITY sw_list SYSTEM "SWList.xml">
<!ENTITY hw_list SYSTEM "HWList.xml">
]>
<product_list>
slist;
hlist;
</product_list>
My Error is: Content model of element 'product_list' disallows text content.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Internal DTD


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap