public class XmlMapCollection extends CollectionBase
ListObject.getXmlMap() objects that represent XmlMap information.| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.String url)
Add a
ListObject.getXmlMap() by the url/path of a xml/xsd file. |
void |
clear()
Removes all XmlMaps.
|
XmlMap |
get(int index)
Gets the xml map by the specific index.
|
public XmlMap get(int index)
get in class CollectionBaseindex - The index.public int add(java.lang.String url)
ListObject.getXmlMap() by the url/path of a xml/xsd file.
Example
The following code adds two XmlMaps by a xsd file and a xml file.
Workbook wb = new Workbook();
XmlMapCollection xmlMapCollection = wb.getWorksheets().getXmlMaps();
//Add a XmlMap by a xsd file.
xmlMapCollection.add("schema.xsd");
//Add a XmlMap by a xml file.
xmlMapCollection.add("xml.xml");
wb.save("twoXmlMaps.xlsx");
url - url/path of a xml/xsd file.ListObject.getXmlMap() object index.public void clear()
clear in class CollectionBaseSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.