Read Values from xml file

Posted by Nimesh on Stack Overflow See other posts from Stack Overflow or by Nimesh
Published on 2010-03-08T12:37:52Z Indexed on 2010/03/09 0:06 UTC
Read the original article Hit count: 283

Filed under:

I have a function TRANSLATE which reads value from the xml file based on a key. I wanna put "http://www.google.com?search=" in the xml file and read it based on the key(SEARCHER)

I am confused in framing the link when it comes in Response.Write

<%Dim SearchQuery1
 SearchQuery1="New"
 Dim SearchQuery2
 SearchQuery2=30

Response.Write("<A HREF=""http://www.google.com?search="&SearchQuery1&"-"&SearchQuery2&""" TARGET=""links"">http://www.google.com?search="&SearchQuery1&"-"&SearchQuery2&"</A>")
%>

I was trying something like this

Response.Write("<A HREF=""Translate("SEARCHER")"&SearchQuery1&"-"&SearchQuery2&""" TARGET=""links"">Translate("SEARCHER")"&SearchQuery1&"-"&SearchQuery2&"</A>")

but is throwing some error: Expected)'

PLs let me know how can i solve this????

© Stack Overflow or respective owner

Related posts about asp-classic