add
add(String xmlString) method
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
xmlString | String | The xml string of new part to be added. |
Returns
CustomXmlPart
Exception
Exception | Condition |
---|
com.aspose.ms.System.ArgumentException | xmlString is empty or xml-data is invalid. |
add(byte[] xmlData) method
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
xmlData | byte[] | The xml data of new part to be added. |
Returns
CustomXmlPart
Exception
Exception | Condition |
---|
com.aspose.ms.System.ArgumentException | xmlData is empty or invalid. |
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
inputStream | InputStream | The inputStream with xml data of new part to be added. |
Returns
CustomXmlPart
Exception
Exception | Condition |
---|
com.aspose.ms.System.ArgumentException | Data in inputStream is empty or invalid. |