Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 949527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:24:58+00:00 2026-05-15T23:24:58+00:00

This is closely related to another question I asked: Is there functionality that is

  • 0

This is closely related to another question I asked: Is there functionality that is NOT exposed in the Open XML SDK v2?

I am currently working with Open XML files manually. I recently had a look at the SDK and was surprised to find that it looked pretty low level, quite similar in fact to the helper classes I have created myself. My question is what exactly does the SDK v2 take care of that you would have to do manually when coding by hand with an XML library?

For example, would it automatically patch the _rels files when deleting a PowerPoint slide?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:24:59+00:00Added an answer on May 15, 2026 at 11:24 pm

    In addition to Otaku’s links, this shows an example (near the bottom) of navigating an OpenXML document using the IO.Packaging namespace versus the SDK.

    Just like Microsoft states on the download page for the SDK:

    The Open XML SDK 2.0 for Microsoft
    Office is built on top of the
    System.IO.Packaging API and provides
    strongly typed part classes to
    manipulate Open XML documents. The SDK
    also uses the .NET Framework
    Language-Integrated Query (LINQ)
    technology to provide strongly typed
    object access to the XML content
    inside the parts of Open XML
    documents.

    The Open XML SDK 2.0 simplifies the
    task of manipulating Open XML packages
    and the underlying Open XML schema
    elements within a package. The Open
    XML Application Programming Interface
    (API) encapsulates many common tasks
    that developers perform on Open XML
    packages, so you can perform complex
    operations with just a few lines of
    code.

    I’ve worked pretty much only with the SDK, but for example, it’s nice to be able to grab a table out of a Word document by just using:

    Table table = wordprocessingDocument.MainDocumentPart.Document.Body.Elements<Table>().First();
    

    (I mean, assuming it’s the first table)

    I’d say the SDK does exactly what it seeks to do by providing a sort of intuitive object-based way to work with documents.

    As far as automatically patching the relationships — no, it doesn’t do that. And looking back at how you actually state the question, I guess I might even say that (and I’m fairly new to Open XML so this isn’t gospel by means) the SDK2.0 doesn’t necessarily offer any extra functionality, so much as it offers a more convenient way to achieve the same functionality. For example, you still need to know about those relationships when you delete an element, but it’s a lot easier to deal with them.

    Also, there’s been some efforts on top of the SDK to add even more abstraction — see, for example, ExtremeML (Excel library only. I’ve never used it but I think it does get into things like patching relationships).

    So I’m sorry if I’ve rambled a bit too much here. But I guess my short answer is: there’s probably not extra functionality, but there’s a nice level of abstraction that makes achieving certain functionality a lot easier to handle — and if you’ve been doing it by hand up until now, you’ll certainly have the understanding of the OPC to understand what exactly is being abstracted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is pretty closely related to another SO question. Using the example below, could
This is closely related to anothewr question I have asked but since this is
This is closely related to a previous question i asked. I have a many-to-many
This is very closely related to this other question , but that question wanted
This is closely related to, but is not the same question as: Java -
This is closely related to another question: How can I measure thread stack depth?
I have a sql question that is closely related to this question - SQL
So I have a question very closely related to another question I've seen on
This post is closely related to another one I posted some days ago .
I've found some answers that are closely related to this problem, but I still

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.