Need help with simple XML reading code

Discussion in 'XML & RSS' started by gehan, Mar 6, 2008.

  1. #1
    I Have an XML file which has data like this...

    <?xml version="1.0" encoding="UTF-8" ?>
    - <Product productid="2246">
    <productName>Lion King DVD</productName>
    <status>A</status>
    </Prdouct>

    I just want to pull the productname and display it... but i am finding it difficult can some one please help me...

    I dont want to use a loop because at one time there is only one product displayed.

    Would really appreciate

    Thank
     
    gehan, Mar 6, 2008 IP
  2. gehan

    gehan Member

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    i am using asp to read the file and display the product name... so if anyone can provide the bit of code to do this would be great
     
    gehan, Mar 6, 2008 IP