function XMLDataSet(xmldoc, tagLabel) {
	this.rootObj = xmldoc.getElementsByTagName(tagLabel)
	
	//3Έφ·½·¨
	this.getCount = getCount;
	this.getData = getData;
	this.getAttribute = getAttribute;
} 
function getCount(){
	return this.rootObj.length;
}
function getData(index, tagName){
	if (index >= this.count) return "index overflow";
	var node = this.rootObj[index];
	var str = node.getElementsByTagName(tagName)[0].firstChild.data;
	return str;
}

function getAttribute(index, tagName) {
	if (index >= this.count) return "index overflow";
	var node = this.rootObj[index];
	var str = node.getAttribute(tagName);
	return str;
}

// JavaScript Document
