Title: Cannot view XML input using style sheet. error when exporting
Last modified: August 19, 2016

---

# Cannot view XML input using style sheet. error when exporting

 *  [foodrehab](https://wordpress.org/support/users/foodrehab/)
 * (@foodrehab)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/)
 * Hi,
 * When trying to to export my blog’s ([http://foodrehab.com.au/](http://foodrehab.com.au/))
   xml file, I receive the below errors. I use IE8 which opens previous XML files
   fine:
 * > The XML page cannot be displayed
   >  Cannot view XML input using style sheet. 
   > Please correct the error and then click the Refresh button, or try again later.
   > XML document must have a top level element. Error processing resource ‘file:///
   > C:/Documents and Settings/Christian/Local Se…
 * Can someone please help me? Thanks in advance 🙂
 * Adrian

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/#post-1689481)
 * Why are you trying to view an export .xml file in your web browser?
 *  Thread Starter [foodrehab](https://wordpress.org/support/users/foodrehab/)
 * (@foodrehab)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/#post-1689653)
 * Hi Esmi- It automatically selects IE as my default XML viewer/editor. I just 
   save these XML files as backup each week. Apart from that, I don’t intend to 
   view/edit them.
 * The reason why I raised this is because all the other previously saved exported
   XML files appear fine without any errors using IE.
 * Any ideas? I hear it could be due to spacing in the theme php or similar?
 * Thanks
 *  Thread Starter [foodrehab](https://wordpress.org/support/users/foodrehab/)
 * (@foodrehab)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/#post-1689654)
 * Also, I’ve tried viewing it using notepad, Firefox and every other program that
   may work. Strangely, but it doesn’t seem to download any data sitting at 0bytes.
 *  Thread Starter [foodrehab](https://wordpress.org/support/users/foodrehab/)
 * (@foodrehab)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/#post-1689680)
 * Is someone able to help me with this please?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot view XML input using style sheet. error when exporting’ is closed
to new replies.

## Tags

 * [xml](https://wordpress.org/support/topic-tag/xml/)
 * [XML-Error](https://wordpress.org/support/topic-tag/xml-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [foodrehab](https://wordpress.org/support/users/foodrehab/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/cannot-view-xml-input-using-style-sheet-error-when-exporting/#post-1689680)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
