Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ajax Programming

xml--dom--ajax


hi
i have a xml file as shown below. i want that wen i click on 1heading1 ,description of 1heading1 appear and wen i click on 2heading2 , description of 2 heading2 appears
any suggestions for the .js file i 've to write

Thanks'
Atul

<?xml version="1.0" encoding="utf-8" ?>
<news>
<category>

<headline>
<heading>'1 heading1' </heading>
<latestnews>1 ltst nws1</latestnews>
<relatednewsinother>1rltd nws in othr1</relatednewsinother>
<description> 1description 1</description>
<URl>1 url 1</URl>
</headline>

<headline>
<heading>2 heading 2 </heading>
<latestnews>2 ltst news2</latestnews>
<relatednewsinother>2 rltd nws in othr2</relatednewsinother>
<description>2 description 2</description>
<URl>2 url2</URl>
</headline>

<headline>
<heading>3 heading3</heading>
<latestnews>3ltst nws3</latestnews>
<relatednewsinother>3rltd nws in othr3</relatednewsinother>
<description>3description 3 </description>
<URl>3url3</URl>
</headline>

<headline>
<heading>4heading4</heading>
<latestnews>4ltst nws4</latestnews>
<relatednewsinother>4rltd nws in othr4</relatednewsinother>
<description>4 description 4</description>
<URl>4url4</URl>
</headline>

<headline>
<heading>5heading5</heading>
<latestnews>5ltst nws5</latestnews>
<relatednewsinother>5rltd nws in othr5</relatednewsinother>
<description>5 description 5</description>
<URl>5url5</URl>
</headline>

<headline>
<heading>6heading6 </heading>
<latestnews>6ltst nws6</latestnews>
<relatednewsinother>6rltd nws in othr6</relatednewsinother>
<description>6 description 6</description>
<URl>6url6</URl>
</headline>

<headline>
<heading>7 heading7 </heading>
<latestnews>7ltst nws7</latestnews>
<relatednewsinother>7rltd nws in othr7</relatednewsinother>
<description>7 description 7</description>
<URl>7url7</URl>
</headline>

<headline>
<heading>8 heading8</heading>
<latestnews>8ltst nws8</latestnews>
<relatednewsinother>8rltd nws in othr8</relatednewsinother>
<description>8 description 8</description>
<URl>8url8</URl>
</headline>

</category>
</news>

___________________________________________________________________________ _________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc