XmlDataSource constructor
XmlDataSource(xml_path)
Creates a new data source with data from an XML file using default options for XML data loading.
def __init__(self, xml_path: str):
...
Parameter | Type | Description |
---|---|---|
xml_path | str | The path to the XML file to be used as the data source. |
XmlDataSource(xml_stream)
Creates a new data source with data from an XML stream using default options for XML data loading.
def __init__(self, xml_stream: io.BytesIO):
...
Parameter | Type | Description |
---|---|---|
xml_stream | io.BytesIO | The stream of XML data to be used as the data source. |
XmlDataSource(xml_path, xml_schema_path)
Creates a new data source with data from an XML file using an XML Schema Definition file. Default options are used for XML data loading.
def __init__(self, xml_path: str, xml_schema_path: str):
...
Parameter | Type | Description |
---|---|---|
xml_path | str | The path to the XML file to be used as the data source. |
xml_schema_path | str | The path to the XML Schema Definition file that provides schema for the XML file. |
XmlDataSource(xml_stream, xml_schema_stream)
Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options are used for XML data loading.
def __init__(self, xml_stream: io.BytesIO, xml_schema_stream: io.BytesIO):
...
Parameter | Type | Description |
---|---|---|
xml_stream | io.BytesIO | The stream of XML data to be used as the data source. |
xml_schema_stream | io.BytesIO | The stream of XML Schema Definition that provides schema for the XML data. |
XmlDataSource(xml_path, options)
Creates a new data source with data from an XML file using the specified options for XML data loading.
def __init__(self, xml_path: str, options: aspose.words.reporting.XmlDataLoadOptions):
...
Parameter | Type | Description |
---|---|---|
xml_path | str | The path to the XML file to be used as the data source. |
options | XmlDataLoadOptions | Options for XML data loading. |
XmlDataSource(xml_stream, options)
Creates a new data source with data from an XML stream using the specified options for XML data loading.
def __init__(self, xml_stream: io.BytesIO, options: aspose.words.reporting.XmlDataLoadOptions):
...
Parameter | Type | Description |
---|---|---|
xml_stream | io.BytesIO | The stream of XML data to be used as the data source. |
options | XmlDataLoadOptions | Options for XML data loading. |
XmlDataSource(xml_path, xml_schema_path, options)
Creates a new data source with data from an XML file using an XML Schema Definition file. The specified options are used for XML data loading.
def __init__(self, xml_path: str, xml_schema_path: str, options: aspose.words.reporting.XmlDataLoadOptions):
...
Parameter | Type | Description |
---|---|---|
xml_path | str | The path to the XML file to be used as the data source. |
xml_schema_path | str | The path to the XML Schema Definition file that provides schema for the XML file. |
options | XmlDataLoadOptions | Options for XML data loading. |
XmlDataSource(xml_stream, xml_schema_stream, options)
Creates a new data source with data from an XML stream using an XML Schema Definition stream. The specified options are used for XML data loading.
def __init__(self, xml_stream: io.BytesIO, xml_schema_stream: io.BytesIO, options: aspose.words.reporting.XmlDataLoadOptions):
...
Parameter | Type | Description |
---|---|---|
xml_stream | io.BytesIO | The stream of XML data to be used as the data source. |
xml_schema_stream | io.BytesIO | The stream of XML Schema Definition that provides schema for the XML data. |
options | XmlDataLoadOptions | Options for XML data loading. |
See Also
- module aspose.words.reporting
- class XmlDataSource