paetje Posted March 31, 2006 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? Link to comment Share on other sites More sharing options...
kgw Posted April 20, 2006 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)> Link to comment Share on other sites More sharing options...
paetje Posted April 20, 2006 Author Share Posted April 20, 2006 Srie forgot I posted here. The problem is already solved, see other post by me.thanx anyway Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now