Skip navigation
Currently Being Moderated

how to open illustrator file (.ai) using Indesign and save it as XML

Jun 4, 2009 8:05 AM

I know how to open a Illustrator file (.ai) in Indesign.

 

It would be like :

 

1 ) Save your Illustrator file as AI. This Native format is most compatible with InDesign.

 

2 )  Go to -> InDesign, click on your document using your  Frame Rectangle tool (the one with the X through it).

 

3 )  Fill in the desired size (can be adjusted later).

 

5 ) Go to File menu > Place.

 

6 )  Find and select the Illustrator file in the window that opens.

 

7 ) Click the Open button.

 

Adjust size, & position of your image using the Direct Selection tool (white arrow), and the cropping with the Seclection tool (black arrow.

 

Now I want to save this file as XML.

 

After that,  I say

 

1 )  File -> Export

 

But this file saves as XML only shows he the root element nothing else.

Every time , this shows like

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Root></Root>

 

Nothing is there as contents.

 

Can anyone let me know, is it possible to store .AI file as XML.

My requirement is simple, i want to store the .ai file as XML.

 

Some how I am using Indesign to do so . Can any body help.

 

Thanks,

 

 
Replies
  • Currently Being Moderated
    Jun 4, 2009 8:27 AM   in reply to Nikkiee POndi

    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?

     

    Ken

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 8:31 AM   in reply to Nikkiee POndi

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 8:40 AM   in reply to Nikkiee POndi

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 8:49 AM   in reply to Nikkiee POndi

    Try copying and pasting from AI to Indesign.

     

    Ken

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 8:54 AM   in reply to Nikkiee POndi

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 9:02 AM   in reply to Kenneth Benson

    Ken,

     

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 4, 2009 9:14 AM   in reply to Nikkiee POndi

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 5, 2009 9:21 AM   in reply to Nikkiee POndi

    I've been using Smultron http://tuppis.com/smultron/ (which is free) to look at the xml (you don't need to change the extension to xml). Is that what you mean?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 5, 2009 9:59 AM   in reply to Nikkiee POndi
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points