Share via

"AllowDocumentFunction constraint violated" Error when opening XML file using Custom defined XSL In Excel 2010

Anonymous
2012-11-29T09:54:37+00:00

I've a XML file with the associated XSLT sheet. When I try to open the XML file in Excel 2003 or Excel 2007, I was provided with an option to use my XSL and it opens perfectly. When I open the same file in Excel 2010 with same option, it shows XML error has occurred with following error message.

Anyway to fix this issue?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2013-01-12T16:39:29+00:00

    Hi,

    Thank you for posting in Microsoft Community.

    I shall help you related to your issue.

    You may follow the steps mentioned in the article below and check if it helps:

    http://support.microsoft.com/kb/908556

    Note: although the link is for Excel 2007 it also holds good for Office 2010

    Note: Replace Office 12 to Office 14 for Office 2010.

    I hope this helps. If you need any further information, you can always reply and I’ll be happy to help you.

    Thank you.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-01-07T21:57:04+00:00

    This is a security restriction in msWord also. related to a constraint to use document( ) XSLT function. I can't enable it, don't find how.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-11-30T03:19:29+00:00

    Hi Pradeep,

    Thank you for posting in Microsoft Community.

    Sorry to hear that you are unable to open XML file in Excel 2010.

    Are you facing this issue with a specific Excel file?

    Open Excel 2010 and then try to browse to the location of the file and open the same and check if it opens fine.

    If the above steps fail and if you do not have any confidential data in the file then you may upload the sample data to the SkyDrive folder and provide us the link so that we can assist you better.

    Refer the link below to upload the sample data to the sky drive:

    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65

    Note: Do not share the document which has confidential information.

    Thank you.

    Was this answer helpful?

    0 comments No comments