First, Placing an AI file is not opening it. It's Placing it.
Second, Exporting to XML exports the Indesign file (assuming you have structured content). Graphics can't be magically turned into XML.
Why do you think you need Illustrator converted to XML?
You cannot open an Illustrator file with InDesign. The steps you describe are for Placing the file, which just creates a link to the external AI file. That's why the XML export is also just a link to the same file.
If you want to convert your AI file to an editable InDesign file you can try two methods. One is to just try Copying from Illustrator and Pasting into InDesign. If your artwork is simple and uses no effects or gradient meshes, you might get lucky and have a good conversion. That's probably not what will happen.
The other method, which I've never tried, is to save a PDF then use Recosoft's PDF2ID plug-in. Maybe they have a trial version you can test out.
Is it possible that you mean SVG? http://www.w3.org/Graphics/SVG/
SVG is an XML version of graphics.
In illustrator CS4, use Save As and choose SVG,from there you can simply save as SVG or click on Show SVG code to see/use the XML.
InDesign CS3 had some whisper of support in InDesign, but as far as I can tell it's been dropped (I asked a related question yesterday: http://forums.adobe.com/message/2010911#2010911 ) and InDesign doesn't import SVG files.
Actually I am into R& D department as we are into the identification business, My AI file contains the Template for business card i.e. it has image and text field(static text) over it .
The problem, we are facing is, in exporting AI file.
The requirement is to export the file in the form of XML, the reason specifically to XML is is we are going for other formats like FXG, it should have text fied attributes like x,y coordinates,font size ,style etc. and Keywords inserted in it.In FXG I am not getting those keywords,some attributes are getting drop.
Is there any way to get the XML in that format(having x,y cordinates,style etc for text field along with keywords) ??
You are right Mr. FivePicaPica
We can do it with SVG format , But the again one more problem with SVG file is the parsing would be takes much more time.
Actaully my AI file contains the Template for business card i.e. it has image and text field(static text) over it .
The requirement is, the exported xml (like FXG) should have text field attributes like x,y coordinates,font size ,style etc. and Keywords inserted in it.
I want in the XML form as to get the XML in the format(having x,y cordinates,style etc for text field along with keywords) ??
Try copying and pasting from AI to Indesign.
You can do the same thing with saving as FXG (and grabbing the code, which seems to have the XML format the way you want)
Still no indesign support though.
InDesign doesn't "see" unplaced vectors during its XML xexport, and uses the preview image for placed images (which it exports as jpgs or gifs).
If you need XML it looks like it has to be done in Illustrator.
Copy and paste is again seems same as 'Place the file' , it wouldn't help again.
Copy( from Illustrator) and paste( it in Indesign) and later saving\exporting as XML again create the same the XML file with no data . Just a XML structure,
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><Root />RRegarding using the FXG and SVG file .. saving these formats to XML does not shows the Co-ordinates in XML formats.I do I would like to have the coordinates (x,y) so that later on , if required I can change the coordinates and display the Image or Text in the file. As this is a requirement for business card.A
Illustrator doesnot supports to save the file as XML.
We dont having as plugin to save the file as XML in Illustrator.
Even I was going thru the Illustrator SDK. Adobe is not having any API opened which would help me to create my own plugin to save the file (.ai) as XML.
If you change the extension of FXG or SVG to XML you can see/alter the code as you would any XML file. And the FXG format has x and y coordinates.
Granted, I don't know what you're doing with the XML (or how complex your file is), but my test files worked.
Thanks for the prompt responses...
Can any body let me know any utility\tool, using which I can see the contents of XML.
Following, like as you suggest just to change the extensions .FXG or SVG to .XML.
Say, i make some changes in the file (in which extension changed to XML). Say changed X-Y co-ordinates to displace the image or text,) . I want to have some visual verification to changes made in original and converted one.
My question, Is there is any way or any Tool\Utility where I can see my XML as visual template. before or after making the changes. ( Hope you knw what I mean.)
Thanks in advance,
Thanks you have been very helpful.
Smultron is for MAC? isnt it.
I wanted something similar for the windows.
Oxygen is also pretty popular if you need something a step up. http://www.oxygenxml.com