utilityDataModelDumpDataToXml

Dump the data in a #GdaDataModel into a xmlNodePtr (as used in libxml).

Warning: this function uses a #GdaDataModelIter iterator, and if model does not offer a random access (check using gda.data_model.DataModel.getAccessFlags), the iterator will be the same as normally used to access data in model previously to calling this method, and this iterator will be moved (point to another row).

bool
utilityDataModelDumpDataToXml

Parameters

model gda.data_model.DataModel

a #GdaDataModel

parent libxml2.types.NodePtr

the parent XML node

cols int[]

an array containing which columns of model will be exported, or null for all columns

rows int[]

an array containing which rows of model will be exported, or null for all rows

useColIds bool

set to true to add column ID information

Return Value

Type: bool

true if no error occurred