I am sure that I am missing something in xslt syntax, or a well known trick of the environment.
I want to add a DOCTYPE header to my document during its XSLT transform. However, all of the approaches I have tried have either given me parsing errors on the XSLT script or have not produced output.
Currently, I have a comment at the right place that says (details have been edited):
<!-- Figure out how to attach the DTD descriptor with XSLT
<!DOCTYPE MyMessageBatch PUBLIC "-//xxx//yyy 3.1//EN" "http://xxx.xxx.com/DTD/yyy_3.1.dtd">
Thanks in advance.