add
add(String xmlString) function
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
xmlString | String | The xml string of new part to be added. |
Result
CustomXmlPart
Error
Error | Condition |
---|
com.aspose.ms.System.ArgumentException | xmlString is empty or xml-data is invalid. |
add(byte[] xmlData) function
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
xmlData | byte[] | The xml data of new part to be added. |
Result
CustomXmlPart
Error
Error | Condition |
---|
com.aspose.ms.System.ArgumentException | xmlData is empty or invalid. |
Adds new custom xml part.
Parameters
Name | Type | Description |
---|
customxmlpartcollection | CustomXmlPartCollection | link to self |
inputStream | ReadStream | The inputStream with xml data of new part to be added. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result
CustomXmlPart
Error
Error | Condition |
---|
com.aspose.ms.System.ArgumentException | Data in inputStream is empty or invalid. |