Results 1 to 2 of 2

Thread: XML

  1. #1
    jason m Guest

    Default XML

    I&#039m creating a XML document with jscript. I&#039ve done this with vbscript, but for some reason jscript doesnt like it.<BR><BR>oDoc = new ActiveXObject("MSXML.DOMDocument")<BR>oRoot = oDoc.createElement("users")<BR><BR> oUser = oDoc.createElement("user")<BR> oUser.setAttribute ("id", "&#060;%=sGuid%&#062;")<BR> oUserInfo = oDoc.createElement("firstname")<BR> oUserInfo.Text = frmList.firstname.value;<BR><BR>it failes here.<BR><BR>I&#039ve tried "frmList.firstname.value";<BR> ("frmList.firstname.value");<BR><BR>Any sugestions?<BR><BR>Thank you.<BR>

  2. #2
    jason m Guest

    Default RE: XML

    I found it, the case in "Text" needs to be text.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts