Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2008, 11:59 AM
Member
 
Join Date: Feb 2008
Posts: 1
Rep Power: 0
srikanthn is on a distinguished road
Lightbulb XML parsing with 10sec delay using timer class
I have XML file given below.


<?xml version="1.0" encoding="UTF-8"?>
<xml>
<imp_news>
<news comp="IBM" skill="JAVA-PCM">
<headline>line1
</headline>
<description>Document1
</description>
</news>
<news comp="Dell" skill="ERP-SAP">
<headline>line2
</headline>
<description>Document2
</description>
</news>
<news comp="Infy" skill="BI-ETL-SEIBEL">
<headline>line3
</headline>
<description>Document2
</description>
</news>

</imp_news>
</xml>



My question is :

How to parse it using java and print the elements of the file based on attributes of each tag for 10 secoonds using a timer class ...

I mean first It should display First tag details(IBM ) here then after 10sec delay the next tag attribute data should be displayed.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Animation Delay - Thread problem wererabit Advanced Java 3 04-10-2009 11:35 PM
How to mesure ping delay in JAVA..? sacr83 Networking 4 06-15-2008 07:37 AM
How to cancel an individual timer in spite of canceling whole timer Java Tip java.util 0 04-04-2008 03:46 PM
How to write a JAVA program to mesure ping delay..? sacr83 Networking 1 02-15-2008 05:07 PM
Help with timer in java barney Advanced Java 1 08-01-2007 11:24 AM


All times are GMT +2. The time now is 02:46 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org