Export Preference in Indesign thru' Applescript

How to use export preferences to add DTD Declaration thru’ applescript code.If we export file manually from Indesign to Xml. We will check the box “Include DTD Declaration” So that the below line will be added
" "

The same process should be done thru’ applescript code.So anyone help me to sort out this Problem.



Looking at the dictionary i’d say it was included by default although i guess you would disagree!!
heres the line in the dictionary.

in which case you may need to add a line something like this into your script!!

set exclude dtd to false

Thanks Yar. Its working now. I have given like this

set properties of XML export preferences to {exclude dtd:false}