WordOpenXML
StructuredDocumentTag.WordOpenXML property
Gets a string that represents the XML contained within the node in the FlatOpc format.
public string WordOpenXML { get; }
Examples
Shows how to get XML contained within the node in the FlatOpc format.
Document doc = new Document(MyDir + "Structured document tags.docx");
List<StructuredDocumentTag> tags = doc.GetChildNodes(NodeType.StructuredDocumentTag, true)
.OfType<StructuredDocumentTag>().ToList();
Assert.True(tags[0].WordOpenXML
.Contains(
"<pkg:part pkg:name=\"/docProps/app.xml\" pkg:contentType=\"application/vnd.openxmlformats-officedocument.extended-properties+xml\">"));
See Also
- class StructuredDocumentTag
- namespace Aspose.Words.Markup
- assembly Aspose.Words