Click here to Skip to main content
16,011,905 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
in my asp.net website i want to get parent node name .
my xml is


XML
<?xml version="1.0" standalone="yes"?>
<gallery title="Tony's Photo Album" thumbDir="./images/thumbs/" imageDir="./images/" random="true">
  <category name="Building Inauguration">
    <image>
      <date>13/2/2012</date>
      <title>yjtjBuildingt</title>
      <desc>jytj</desc>
      <thumb>_MG_0523.JPG</thumb>
      <img>_MG_0523.JPG</img>
      <Cover>N</Cover>
    </image>
    <image>
      <date>30/1/2012</date>
      <title>titleBuilding</title>
      <desc>we</desc>
      <thumb>_MG_0513.JPG</thumb>
      <img>DSC_0295.JPG</img>
      <Cover>Y</Cover>
    </image>
  </category>
  <category name="Carnival-10">
    <image>
      <date>30/1/2012</date>
      <title>Carnival</title>
      <desc>we</desc>
      <thumb>_MG_0513.JPG</thumb>
      <img>DSC_0295.JPG</img>
      <Cover>Y</Cover>
    </image>





i want to retrieve category name dynamically hoe to do this.using dataset
pls help me
Posted
Comments
Sergey Alexandrovich Kryukov 16-Apr-12 11:59am    
On server side or a client side? How did you get some node in first place?
--SA

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