paetje 0 Posted March 31, 2006 Report Share Posted March 31, 2006 First my appologies for a question about DTD in an Schema forum. But I must use an DTD for support of my XML program (XMetal) and I can't figure out where to put my question.I'm trying to set up an DTD witch describes what element may be used on what location. Now I made an element <paragraph> and <subparagraph> the must contain both the child-element <bold>. Now I'm having an error message: "tag name is already been declared". How must I build my DTD valide and use one child-element in more parent-elements? Quote Link to post Share on other sites
kgw 0 Posted April 20, 2006 Report Share Posted April 20, 2006 Hi,What is your dtd?I tried the following dtd in XML Spy and it is said that the dtd is valid:<!ELEMENT script (paragraph)+><!ELEMENT paragraph (bold,subparagraph+)+><!ELEMENT subparagraph (bold)><!ELEMENT bold (#PCDATA)> Quote Link to post Share on other sites
paetje 0 Posted April 20, 2006 Author Report Share Posted April 20, 2006 Srie forgot I posted here. The problem is already solved, see other post by me.thanx anyway Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.