Click here to Skip to main content
15,074,377 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am working on Classic ASP Project for which i need to implement Localization. Can you pls let us know how to implement. Any help is much appreciated.



Here, have a look at this: Resource files for Classic ASP[^]
Member 4286351 12-Jul-12 7:31am
Thanks sandeep for your support will verify.
Sandeep Mewara 13-Jul-12 2:19am
Member 4286351 13-Jul-12 6:38am
Sample XML: This is created coz, once i am able to read the xml file then all my localizing files will be moved to xml. e.g. for english or french etc.

XML: Read as < for (lt) and > (gt)
(lt)State ref="FL"(gt)
(lt)State ref="IA"(gt)
(lt)capital(gt)Des Moines(lt)/capital(gt)


Now my code is:

First Page

sub readxml()

Set objXMLDoc = CreateObject("Microsoft.XMLDOM")
objXMLDoc.async = False

Dim objChildNodes, strNode
Set objChildNodes = objXMLDoc.documentElement.childNodes(lt)State(gt)

For Each strNode In objChildNodes
document.write(strNode.nodeName & "(lt)br(gt)")

end sub


<p>Result: <% call readxml%></p>



I am getting error
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/login/mypages.asp, line 14, column 63
Set objChildNodes = objXMLDoc.documentElement.childNodes

can u pls help me!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900