Help needed - remove xmlimportmap
Hello all,
First time in the forum...
I have written a v. simple script as follows:
main()
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.
myDocument.mapXMLTagsToStyles();
}
Now I'd like a script to remove the mapping preferences.
can anyone help or point me to relevant literature/documentation.
Thanks.
//Ot_Gu