1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

XML and ASP/HTML

Discussion in 'C#' started by kolucoms, Mar 27, 2008.

  1. #1
    I am a beginner when we consider XML.

    So, I will need help if anyone can guide me on how to convert below XML file to HTML Display.






    Reason for Converting XML to HTML is I dotn want my user to see http://www.secretsite.com link.

    So, HTML will show...

    ErrorDescription : Rejected - Duplicate from same vendor LeadID : 12731285
    ClientAvailable : false

    Any guidance will definitely help.. Its BIT urgent..

    I heard I have to use XSL Transformations (XSLT) but it goes top over my head.

    Further Details :
    *********************

    When I use in My ASP file

    <form action="http://apps.secretsite.com/Supplier...asmx/InsertLead" method="post" enctype="application/x-www-form-urlencoded" name="AA" id="AA">

    It returns me the XML file as shown above.

    So, Currently it is

    Form --- > InsertLead --- > XML Output

    I am looking forward to

    Form --- > InsertLead --- > XML Output---> HTML Output

    Possible ?

    I found one link but still thinking how to use it...

    http://developer.apple.com/internet/webcontent/xmlhttpreq.html
     
    kolucoms, Mar 27, 2008 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    But then in your form you are exposing the http://apps.secretsite.com to the user?

    Your normal case would be to have the form submitted to yourself and then behind the scenes repost it to the API, consume the XML returned and then output the HTML.

    Are you looking at classic ASP or .Net?
     
    AstarothSolutions, Mar 27, 2008 IP
  3. kolucoms

    kolucoms Peon

    Messages:
    338
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If its in Code, thats Ok.

    But it shldnt be displayad in front end.

    Classic ASP.
     
    kolucoms, Mar 27, 2008 IP