Search code examples
openxmlxps

Could i use OpenXml for editing XPS Files?


i guess OpenXml is designed for Office products, but editing XPS files with OpenXml is out of question?


Solution

  • Yes, it's not possible.

    XPS and Office Open XML only have the container format in common. Which means that the APIs for dealing with the Open Packaging Convention will be useful; the ones dealing with the underlying file format of Office Open XML will not.

    More specifically, XPS uses a subset of XAML, which is totally different (apart from the fact that it uses XML, too).