Defining Duplicate Child Elements in DTD?

You should reference them in the! ELEMENT td definition.

Up vote 2 down vote favorite share g+ share fb share tw.

I'm trying to generate a DTD and I was wondering how to allow child elements to contain elements that have already been declared in the DTD. Do you have to declare them again? As an example: > My Author My Title Test Would like elements here In the above XML, I'd like to, for example, allow the br, hr, img and table tags to be within the td tag.

Do I have to redefine those elements in the DTD? I appreciate any help and thank you in advance. Xml dtd link|improve this question asked Jun 11 '09 at 2:24senfo3,21232356 93% accept rate.

You should reference them in the definition edit: if you want to maintain the parsed character data in the td element along with the new tags, you can define a mixed content element. Example: see element declarations at w3.org.

The td element also needs to allow text. I'm not sure how to allow the referenced elements in addition to whatever text I might want to enter. – senfo Jun 11 '09 at 2:59 @senfo: updated the answer to address your comment – akf Jun 11 '09 at 3:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions