[V8i C++] Adding XML Data to Models in Cell Libraries

One can utilize mdlModelRef_getLinkageHolderElement() and mdlModelRef_setLinkageHolderElement() to add/update a linkage to a model that can later be used/placed as a cell and that cell will contain the linkage info without having to do anything else. Can the same be true for XML Instance linkages ? I want to assign an XML instance occurance to a model in a cell library and have that XML linkage carry-over such that when the model is placed as a cell, it contains the XML linkage. Can that be done using the above two functions? Also, if that can be done, does the XML schema that is inserted into the cell library in order to add the XML linkage automatically get inserted into the current model when placing the cell?

 

 

Thanks,

 

Bruce

2-6957