Click here to Skip to main content
16,019,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team ,

I am making simple application . I have XML file having some data saved in system drive .I have button control on HTML page.
I want that When I click on button It should display all data from XML file on labels HTML page.
as

Name - XYZ

Address - Perth.

Please tell me
Posted

1 solution

Sorry, AFAIK you can not read XML right from HTML.

However, you can use javascript to do it. This will all be done on the client side, so no server trips. Which means it will still be instantaneous (although depends on the size of the XML file).

Please see this[^] for using js to read XML.

[Please accept/up-vote answers or solutions that work for you to encourage others]
 
Share this answer
 
Comments
Member 10272175 6-Feb-14 8:56am    
sir please help me for my file

<avokasmartform>
<FormData>
<currentpage>1
<customerdetails>
<cidn>
<companydetails>
<abn>62091152573
<acn>091152573
<abnacn>
<companyname>RSJ TRADING PTY LTD T/AS BM GU
<businessname>RSJ TRADING PTY LTD T/AS BM GU

<usepreviousdata>
<address1>700 WATERDALE RD
<address2>
<suburb>BANDURA
<state>VIC
<Postcode>3083</Postcode>


<contactdetails>
<usepreviousdata>
<contactname>JACQUELINE MAO
<PhoneNumber>0394585893</PhoneNumber>
<mobilenumber>0418885185
<faxnumber>
<emailaddress>manager@bmguesthouse.com.au
<secondaryemailaddress>

<technicalcontact>
<usepreviousdata>Same as contact
<contactname>JACQUELINE MAO
<PhoneNumber>0394585893</PhoneNumber>
<mobilenumber>0418885185
<faxnumber>
<emailaddress>manager@bmguesthouse.com.au
<secondaryemailaddress>

<billingdetails>
<billingtype>Existing Account
<billingaddress>
<usepreviousdata>
<address1>
<address2>
<suburb>
<state>
<Postcode/>

<existingaccount>
<accountnumber>1441700600
<fullnationalnumber>
<accounttype>Account number


<ownershipcode>

<servicedetails>
<service>
<customerhascsv>Bigpond Broadband ADSL service,Business Broadband ADSL service,Business Broadband ADSL Standalone service,Business Broadband ADSL Bundled service,Business Broadband BDSL Metro service,Business Broadband BDSL Regional service,Business Broadband Ethernet Metro service,Business Broadband Ethernet Regional service,Business Broadband Access service,Business Broadband Starter service,Business Broadband Advantage ADSL service,Business Broadband Advantage BDSL Metro service,Business Broadband Advantage BDSL Regional service,Telstra Internet Direct service,Non-Telstra broadband service,Not applicable,BizEssentials service,Business Broadband FTTP Bundled,Business Broadband FTTP Standalone
<customerhas>Business Broadband ADSL Bundled service
<customerwantsjoincsv>Bigpond Broadband ADSL service:Migration of existing service to Business Broadband ADSL Standalone,Migration of existing service to Business Broadband ADSL Bundled,New Business Broadband ADSL Standalone service,New Business Broadband ADSL Bundled service,New Business Broadband Ethernet Metro service,New Business Broadband Ethernet Regional service,New BizEssentials,Migration of existing service to BizEssentials,New Business Broadband FTTP Standalone,New Business Broadband FTTP Bundled;Business Broadband ADSL service:Cancellation of existing service,Change existing service,Migration of existing service to Business Broadband ADSL Standalone,Migration of existing service to Business Broadband ADSL Bundled,New Business Broadband ADSL Standalone service,New Business Broadband A

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