Class XmlExportOptions
Configuration options for XML exports
Controls XML schema inclusion and formatting options.
------------------------------------------------
Usage:
var options = new XmlExportOptions
{
XmlIncludeSchema = true,
XmlPrettyPrint = true
};
------------------------------------------------
Inherited Members
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class XmlExportOptions : ExportOptionsBase
Remarks
Important Considerations:
Pretty Print: Improves readability but increases file size.
Note: Schema inclusion is useful for validation but not always necessary.
Related Documentation:
How-To Guide: XML Export Guide
Constructors
XmlExportOptions()
Declaration
public XmlExportOptions()
Properties
XmlIncludeSchema
Whether to include XML schema declaration
Default: false
Declaration
public bool XmlIncludeSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
XmlPrettyPrint
Whether to pretty-print XML output
Default: true
Declaration
public bool XmlPrettyPrint { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |