in reply to Re^2: DTD and xml module
in thread DTD and xml module

I still don't understand quite what it is you want to get. An example of the expected output would definitely help.

Some comments though, maybe they will put you on the right track: