Creating InDesign Tagged Text via XSLT
Hi, I am on Windows and using Oxygen XML Editor to convert XML to tagged text. When I place the text in InDesign, I get the Text Import Options dialog box.

I am specifying UTF-8 and using <UNICODE-WIN> as the first line of the file. If I copy and paste the content into a "reverse-engineered" tagged text file, I get the correct Import dialog box. I would like to be able to do this without having to copy/paste every time.
If I view the files in a hex editor, there is definitely a difference:
Oxygen generated:

Exported from InDesign as Tagged Text:

Here is a partial view of my XSLT stylesheet. Any suggestions would be appreciated.


