question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option ToFlatOpcString to exclude whitespace.

See original GitHub issue

Description

OpenXmlDocument.ToFlatOpcString formulates the document with a lot of whitespace - line breaks and tabs. These aren’t needed in XML and creates bloat when transferring.

Information

  • .NET Target: Any
  • DocumentFormat.OpenXml Version: 2.8.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
daniel-whitecommented, Apr 10, 2018

Just a heads up I was able to chop 30k off in my super simple test.

0reactions
github-actions[bot]commented, May 15, 2020

Stale issue message

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add option ToFlatOpcString to exclude whitespace. #478
Description OpenXmlDocument.ToFlatOpcString formulates the document with a lot of whitespace - line breaks and tabs.
Read more >
Ignore Whitespace in textfield
MyURL is a string value. So is there any method to ignore whitespaces in this case? If yes, how can i do it?...
Read more >
XmlReaderSettings.IgnoreWhitespace Property (System.Xml)
Gets or sets a value indicating whether to ignore insignificant white space. public: property bool IgnoreWhitespace { bool get(); void set(bool value); };....
Read more >
White Space and Significant White Space Handling when ...
When loading the document, you can set the option to preserve white space and create XmlWhitespace nodes in the document tree.
Read more >
Multiple whitespace characters in XML for InDesign
The “Ignore White Space” setting will get rid of any spaces surrounding closing/opening tags and any trailing spaces before closing tags as ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found