1 Reply Latest reply on Jan 24, 2014 5:38 AM by Jump_Over

    Help needed - remove xmlimportmap


      Hello all,


      First time in the forum...


      I have written a v. simple script as follows:



      function main(){

                var myDocument = app.documents.item(0);

                //Create a tag to style mapping.

                myDocument.xmlImportMaps.add(myDocument.xmlTags.item("unit"), myDocument.paragraphStyles.item("table_header_unit"));

                //Map the XML tags to the defined styles.




      Now I'd like a script to remove the mapping preferences.


      can anyone help or point me to relevant literature/documentation.