The Aspose.Words XML File Processor for .NET provides developers with a powerful solution to create, edit, and manage XML-based documents programmatically. It allows loading XML files, performing structured edits, and exporting results in various markup-related formats such as XPS, XamlFixed, OpenXps, XamlFlow, and XamlFlowPack. The processor integrates seamlessly into .NET applications, simplifying markup content workflows and supporting a wide range of document processing tasks.
Note:
This plugin does not support Microsoft Word 2003 XML or Microsoft Word 2007 XML file formats, even though they also use the .xml extension. Those formats are fully handled by the Word Processor plugin.
Document instance by providing the XML file path.DocumentBuilder object with the Document instance.DocumentBuilder methods to modify or append content.Document.Save in XML or supported export formats.Download the assemblies from the Aspose.Words releases page or install via NuGet.
Document and a DocumentBuilder instance.DocumentBuilder.InsertChart to add a chart.Chart object via the returned Shape.Create a new Document and initialize a DocumentBuilder. Use StartBookmark with a custom name, insert content, and close it using EndBookmark. Save the output as an XML file or export it to XPS or another supported format. Bookmarks can be used to navigate, modify, or extract specific content from structured XML files efficiently.
It is a .NET plugin designed to create, edit, and save XML-based files using the Aspose.Words API, with export options to multiple markup-related formats.
It supports saving files in XPS, XamlFixed, OpenXps, XamlFlow, and XamlFlowPack formats.
No. Microsoft Word 2003 XML and Word 2007 XML files are not supported by this plugin. Those formats are handled by the Word Processor plugin.
Yes, the processor allows programmatic creation and manipulation of XML files, making it ideal for automation workflows.
Visit the Aspose.Words GitHub repository for complete examples and API references.
It is widely used in industries like enterprise software, content management, finance, and publishing for XML-based document automation.