datasets.lzx

<library>
	<dataset name="createmailingDS" src="http://vapi0.weepee.org/api/publicdata/createmailing.php" request="false" onerror="canvas.handleError()" querytype="POST"/>
	<datapointer xpath="createmailingDS:/dbdata">
		<handler name="ondata">
			var ds=canvas.datasets.createmailingDS;    
			var dp = ds.getPointer();
			dp.setXPath("createmailingDS:/dbdata/data/mailingdata/text()");
			var newmailingdata = dp.getNodeText();
			Debug.write(newmailingdata);
			nospam.tab.mailingdata.box.info.setAttribute("text",newmailingdata);
			nospam.tab.mailingdata.setAttribute('visible',true);
		</handler>
	</datapointer>

	
	<!-- This Dataset Needs to be loaded LAST -->
        <dataset name="weepeeDS" src="http://vapi0.weepee.org/api/weepee.php" request="false" type="http"/>

	<datapointer id="myDpInit" xpath="weepeeDS:/weepee">
		<handler name="ondata">
			Debug.write("Loaded Default XML data");
			loading.setAttribute('visible',false);	
			canvas.nospam.completeInstantiation();
		</handler>
	</datapointer>

</library>

Cross References

Named Instances