I do think it's wrong. Your module is intended to produce an xml document. The advantage of that is independence of representation. The associated xsl transformations should depend on the xml doctype, but not be a part of the document itself.
By modularizing an xml doctype in perl you have made it highly dynamic. No need to throw that away.
After Compline,
Zaxo
In reply to Re: OO and <DATA>
by Zaxo
in thread OO and <DATA>
by rattusillegitimus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |