Extracting XML data from Word 2007 in the original schema

M

mark

In order to structure a document, one attaches an XML schema and then uses
XML tags to mark pieces of data. With
Microsoft.Office.DocumentFormat.OpenXml.Packaging, I can get easily access to
the data through the MainDocumentPart.GetStream() method, unfortunately,
since the XML is a word schema vs. the specified schema, I cannot directly
use it in an ADO.DataSet, etc. That is, the data is formatted using a
structure like <w: customXML w:element = "schema_name"> instead of
<schema_name>. Is there a way (or a plan of a way) for retrieving the XML
data in the original XML schema format?

Thanks for any advice!

mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top