I created a XML file off a recordset. Wierd thing is it worked before and now it doesnt until i put a work around. I have to put "" around the 2nd field or it gives me an error. It worked before without doing this. The field itself holds the first and last name. Is this a bug or is there a reason why its treating me this way?<BR><BR>the error it was throwing was:<BR><BR>Microsoft VBScript runtime error &#039;800a000d&#039; <BR><BR>Type mismatch: &#039;child.Text&#039; <BR><BR>/test/cal3/goodcontractors.asp, line 36 <BR><BR>The code:<BR><BR>Do While Not rs.EOF<BR><BR> Set onode = xmldoc.createNode("element","Contractor","")<BR> xmldoc.documentElement.appendChild(onode)<BR><BR> Set inode=xmldoc.createNode("element","Contractornum", "")<BR> inode.Text = rs(0)<BR> onode.appendChild (inode)<BR><BR> Set child=xmldoc.createNode("element","Contractorname" ,"")<BR> child.Text = ""& rs(1) & ""<BR> onode.appendChild (child)<BR><BR> rs.movenext<BR>loop<BR><BR>Matt