

| Type | Description | |||
| Source as Variant | An indicator of the object that specifies the source for the XML document. The object can represent a file name, a URL, an IStream, a SAFEARRAY, or an IXMLDOMDocument. | |||
| Flags as Variant |
Specifies a numeric expression that defines which parts of the XML file should be ignored when loading data. Multiple flags can be combined using bitwise OR (|).
The flags you can use are (numeric value only) :
For example, LoadXML(..., 7) loads the data but ignores the file’s DateFormat, TimeFormat, and NumberFormat. You can use this approach when saving the file locally, as the date, time, and number formats will remain unchanged. |
| Return | Description | |||
| Boolean | A boolean expression that specifies whether the XML document is loaded without errors. If an error occurs, the method retrieves a description of the error occurred. |
The XML format looks like follows:
- <Content Author Component Version ...> - <Chart FirstVisibleDate ...> - <Levels> <Level Label Unit Count /> <Level Label Unit Count /> ... </Levels> - <Links> <Link Key StartItem StartBar EndItem EndBar Visible StartPos EndPos Color Style Width ShowDir Text ... /> <Link Key StartItem StartBar EndItem EndBar Visible StartPos EndPos Color Style Width ShowDir Text ... /> ... </Links> - <Groups> <Group ItemA KeyA StartA ItemB KeyB StartB /> <Group ItemA KeyA StartA ItemB KeyB StartB /> ... </Groups> </Chart> - <Columns> <Column Caption Position Width HTMLCaption LevelKey DisplayFilterButton DisplayFilterPatter FilterType ... /> <Column Caption Position Width HTMLCaption LevelKey DisplayFilterButton DisplayFilterPatter FilterType ... /> ... </Columns> - <Items> - <Item Expanded ...> <Cell Value ValueFormat Images Image ... /> <Cell Value ValueFormat Images Image ... /> ... - <Bars> <Bar Name Start End Caption HAlignCaption VAlignCaption Key ... /> <Bar Name Start End Caption HAlignCaption VAlignCaption Key ... /> ... </Bars> - <Items> - <Item Expanded ...> - <Item Expanded ...> .... </Items> </Item> </Items> </Content>