You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"index.xml" missing in Pages document

I had made some changes to a Pages file, as chose "Save As..." to keep the original document intact. I got the spinning beachball and after waiting for several minutes had to Force Quit. Now when I try to open the new document it tells me the file is invalid and the index.xml file is missing. Looking at the package contents I can only see the audio, video, and images from the document. Is there anyway to recover my text changes?

iMac Core Duo 17", Mac OS X (10.4.7)

Posted on Jul 14, 2006 11:37 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 14, 2006 2:18 PM

Your file is gone. The index file is crucial to it opening properly. I have had problems when I have messed with the package file and unstuffed the index file. Pages looks for the stuffed version of the index and cannot find it.

Kurt
12 replies

Jul 26, 2006 12:38 AM in response to Kurt Weber

The file may not be gone, but you may have lost links to the images.

To recover the file:


REMOVE THE PAGES "WRAPPER"

Press the [control] key and click on the hosed file.
Scroll to Get Info and select it
In the Name & Extenstion box, delete the ".pages" extension so that "myfilename.pages" reads "myfilename" and press [Enter].

Don't worry about the "will open in another application" warning. We'll put the extension back when we're done. Click [Okay] at the confirmation dialog.

The file is now displayed as what it is, a folder containing multiple files.


CORRECT THE PROBLEM

Next open the folder "myfilename" and browse to the index.xml file.

In my case, the offending issue was that the index file had been renamed to "index(xxxxx).xml.gz" by my syncing software. The icon identified the file as a gzip archive, so I simply edited the filename to read: "index.xml.gz" (without quotation marks).


Presuming the author of the previous post is correct and your file is no longer gzipped, you'll need to get a archive utility. Stuffit Standard has a 30-day free trial and is available at

http://www.stuffit.com/cgi-bin/stuffit_loginpage.cgi?standardmac


Other utilities, freeware, shareware and commercial, are available as well. Download one and Gzip the file and delete (or move) the unarchived "index.xml" file out of the "myfilename" folder. (Note that there are MANY different achive formats. I don't know if any will work other than the gzip that I found mine in.)


PUT THE FOLDER BACK IN THE "WRAPPER"

Back in the File Info dialog, click in the Name & Extenstion box, add the ".pages" extension after the last letter of "myfilename" so that it reads "myfilename.pages" and press [Enter].

Double-click you reconstructed Pages document. If you get a warning your only option at this point is to click [Continue]. At least you still have the text and layout. The only thing I've lost in the past is the images. You can relink them to their boxes.

Hope this works!







G4 800; Mac Mini Mac OS X (10.4)

G4 800 Mac OS X (10.3.9)

Jul 26, 2006 3:54 AM in response to pixelgeek

Presuming the author of the previous post is correct
and your file is no longer gzipped, you'll need to
get a archive utility. Stuffit Standard has a 30-day
free trial and is available at


Pages does not require the index.xml to be compressed. Try it yourself to verify this is the case.

I do not recommend using Stuffit to compress or decompress files. Since the introduction of Mac OS X it has has a number of problems where it corrupted files compressed using UNIX standards like tar and gzip. (I suspect this is why Kurt has had problems with Pages documents.)

Mac OS X automatically decompresses files that have been tar'd or gzip'd. And it includes the tools necessary to compress these files via Termina. If people aren't comfortable doing this with Terminal then they can download freeware and shareware alternatives that do this.

Cheers.

Dale

Jul 27, 2006 5:12 PM in response to pixelgeek

Taking off the Pages extension doesn't work for me in 10.3.9. The package still remains a package.

It was interesting that your syncing software changed the index name. This may be the answer the poster was looking for. It is easy to control click on the Pages files and select 'show package contents' and then change the name of the index file.

If the index file is totally missing the original poster is pretty much out of luck. It is a necessary file in the package.

Kurt

Jul 27, 2006 5:20 PM in response to Dale Gillard

I was able to figure out how to get the index back into the package. I am sure there is a terminal way to do this but this contextual menu:
QuickAccessCM

...is even easier. It allows you to move files into packages and has a host of handy other features as well. Control click on the index file and select 'move to' from the contextual menu and 'choose folder'. Then choose the package file, which shows up like a folder does.

Kurt

Jul 30, 2006 7:32 AM in response to Kurt Weber

I just use drag and drop from the Finder.


Drag and drop does not work for me. I can put the
file in a folder in the package but not in the
package itself. I am logged in as Administrator. Is
it different in Tiger?


No. I've always been able to drag files into 'open' packages. This works the same way as an 'open' folder in the Finder does.

Dale

"index.xml" missing in Pages document

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.