Get Value From XML

Discussion in 'XML' started by Alex, Dec 21, 2005.

  1. Alex

    Alex Guest

    HI All,

    need your help to know if there is a way to retrive that (LocationInfos
    value='5') from an ASP page, i am interested to get size value in an asp
    variable to handle any exception, but i dont know hot to retrieve it :-(

    this is the xml source:

    <LocationInfos size='5'>
    <LocationInfo>
    <city>Miami</city>
    .........

    this is part of the asp script i am using to retrive all the values:

    Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
    xmlhttp.Open "POST","http://www.mywebsite.com?",false
    xmlhttp.setRequestHeader "Content-Type",
    "application/x-www-form-urlencoded"
    xmlhttp.send datatosend
    ........

    Any idea?
     
    Alex, Dec 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. su
    Replies:
    2
    Views:
    1,789
  2. Rui Maciel
    Replies:
    2
    Views:
    3,059
    AndrewDover
    Dec 1, 2009
  3. Eskimo
    Replies:
    0
    Views:
    151
    Eskimo
    Feb 7, 2005
  4. Mike Brearley

    how to get value from page.asp?value=myvalue

    Mike Brearley, May 14, 2004, in forum: ASP General
    Replies:
    1
    Views:
    135
    Mike Brearley
    May 14, 2004
  5. Erik Wasser
    Replies:
    5
    Views:
    463
    Peter J. Holzer
    Mar 5, 2006
Loading...

Share This Page