Aspose.Words XML File Processor for .NET is a powerful plugin for seamlessly editing markup language files with the capabilities of the Aspose.Words API. This tool simplifies the loading and editing of XML documents, enabling easy saving in formats such as XPS, XamlFixed, OpenXps, XamlFlow, or XamlFlowPack. It also facilitates the creation of new documents, allowing for desired modifications and straightforward saving in markup language formats.
Document
class, passing the input file path to the constructor.DocumentBuilder
class, and pass the Document
object to its constructor.DocumentBuilder
utility methods to navigate and manipulate the document.Document.Save
method to save the result.Get the respective assembly files from the Aspose releases or fetch the package from NuGet to add Aspose.Words
directly into your workspace.
Document
class.DocumentBuilder
class, and pass the Document
object to its constructor.DocumentBuilder.InsertChart
method to insert a chart of any type.DocumentBuilder.InsertChart
method returns a Shape
object.Chart
object via the Shape
class to modify its title and series.Chart.Series.Add
method.Document.Save
method to save the resultant document.Aspose.Words allows you to perform bookmark-related actions such as inserting new bookmarks, deleting existing ones, moving to a specific bookmark, retrieving or modifying the bookmark name, and accessing or modifying the text enclosed within it.
To create a bookmark using the XML File Processor, start by creating a new Word document. Initialize a DocumentBuilder
object for the created document. Start a new bookmark with the DocumentBuilder.StartBookmark
method and name it. Write the text within the bookmark, then end it using DocumentBuilder.EndBookmark
. Finally, save the modified document with the bookmark as an XML file in the specified directory.
Aspose.Words XML File Processor for .NET is a robust suite of functions tailored for editing markup language files using the Aspose.Words API. It streamlines the loading, editing, and saving of XML documents in various formats.
This processor allows you to open or create XML documents, edit and save them in multiple formats, and perform various operations such as find and replace, manipulate bookmarks, and customize rendering for elements like lists, paragraphs, images, and shapes.
The Aspose.Words XML File Processor for .NET simplifies document modifications, ensuring high performance. It allows flexible customization to meet specific business needs and comes with expert technical support.
Visit the Aspose.Words GitHub repository for complete examples and data files.
Aspose.Words XML File Processor for .NET is versatile and finds applications in various industries such as software development, retail, enterprise management, healthcare, banking, automotive, aviation, logistics, and the extraction industry.