PDA

View Full Version : How to get XML string from Dataset


jpan
05-20-2004, 06:45 AM
Hi,

Given a dataset that I have modified (say adding some nodes and changing some texts, etc), is there a way for me to get the updated XML??

This is mostly for debugging purposes... I've added a couple of nodes into the dataset but am not getting values back...

Thanks!

pep
05-20-2004, 07:04 AM
try serialize()

myptr.setXpath('myset:/foo/bar[2]');
debug.write(myptr.serialize());

jpan
05-20-2004, 08:41 AM
yeah... sorry I should have looked at the doc more closely... I was simply looking for something that looks similar, like getXML, etc... thanks for your help!