IDML is a zip archive of a folder structure with an IDML extension. If
you want to examine the contents, you can just change the extension to
zip and decompress.
If you want to actually do anything useful with it, you should do a
proper expand and package of the IDML. The easiest way is with a script
from within InDesign. Here's what I use:
Script #1
//DESCRIPTION: Expands an IDML file into folder format
ExpandIDML();
function ExpandIDML(){
var fromIDMLFile = File.openDialog( "Please Select The IDML File to
unpackage" );
if(! fromIDMLFile){return}
var fullName = fromIDMLFile.fullName;
fullName = fullName.replace(/\.idml/,"");
var toFolder = new Folder( fullName );
app.unpackageUCF( fromIDMLFile, toFolder );
}
Script #2
//DESCRIPTION:Produces an IDML package from the contents of a directory:
CreateIDML();
function CreateIDML(){
var fromFolder = Folder.selectDialog("Please Select The Folder to
package as IDML");
if(!fromFolder){return}
var fullName = fromFolder.fullName;
// var name = fromFolder.name;
// var path = fromFolder.path;
var toIDMLFile = new File( fullName+".idml" );
app.packageUCF( fromFolder, toIDMLFile );
}
--
Harbs
http://www.in-tools.com