Join
Sign in
Search Options
Search Everything
Search Formats
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Formats
»
WordprocessingML
»
Newly added tags being converted to OpenXmlUnknownElement when saved
Re: Newly added tags being converted to OpenXmlUnknownElement when saved
Formats
Discussions about working with different Open XML Formats
Get this RSS feed
Details
1
Reply
0
Subscribers
Posted
over 3 years ago
Options
Subscribe via RSS
Share this
WordprocessingML
Newly added tags being converted to OpenXmlUnknownElement when saved
rated by 0 users
This post has
1 Reply |
0
Followers
RML604
90
Posted by
RML604
on
Thu, Nov 5 2009 11:20 AM
rated by 0 users
Post Points: 20
Newly added tags being converted to OpenXmlUnknownElement when saved
I am reading in a document in C# and adding Tags to a few elements. I am then calling MainDocumentPart.Document.Save(), and am serializing the document back into a byte array to be used at a later time. Unfortunately, when I deserialize said byte array back into a document again, all of my Tags are now OpenXmlUnknownElements. Is there some other part besides MainDocumentPart.Document that I need to call Save() on?
Xiaoyuvax
635
Posted by
Xiaoyuvax
on
Wed, Feb 3 2010 10:40 AM
rated by 0 users
Post Points: 5
Re: Newly added tags being converted to OpenXmlUnknownElement when saved
I met the same problem!!!
this problem also occurs when you set the InnerXml property of an OpenXmlElement...
the descendants all turn into OpenXmlUnknownElement!!
Welcome to visit my Blog:xiaoyuvax.spaces.live.com Follow me on Twitter: twitter.com/xiaoyuvax
Page 1 of 1 (2 items)