Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2012
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Display XML content in HTML page

    Hi,

    I am newbie , I have application in which check-box tree is present. I want to pre-populate the check-box's if user before checked some of those check box.

    For that am getting XML format from my back-end perl script as shown below.like , in below XML only 0, 43,44,45,46 and 50 are coming so only those respective checkbox need to checked on page load.I want to display those checked check-box on page load .How can I do this .......?

    I tried with so many examples . but am not getting solution for my problem .Below is my XML format data which is am getting from perl script .

    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="0">1</item>
    </hashref>
    </perldata>
    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="43">1</item>
    </hashref>
    </perldata>
    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="44">1</item>
    </hashref>
    </perldata>
    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="45">1</item>
    </hashref>
    </perldata>
    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="46">1</item>
    </hashref>
    </perldata>
    <perldata>
    <hashref memory_address="0x86f4880">
    <item key="50">1</item>
    </hashref>
    </perldata>



    Please Help


    Thank You
    Pervez

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,760
    Thanks
    23
    Thanked 546 Times in 545 Posts
    This is a double post. Please don't do that. I have answered you in other post here. Display XML content in HTML page


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •