joey mo wrote:I dont know how i can explain it better then in the first post.
I understood the first post. But then you changed your mind to want something "close". I didn't understand that part.
Anyway, as Ulf already said, DTDs can't do anything like that. But it might be a good idea for you to read a DTD tutorial. Like
this one for example. By the time you get to the end of it
you should have a better understanding of both DTDs and XMLs. That can only be a good thing.