Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2008, 11:59 AM
Member
 
Join Date: Feb 2008
Posts: 1
srikanthn is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 1 04-17-2008 09:41 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
How to mesure ping delay in JAVA..? sacr83 Networking 0 02-07-2008 04:47 PM
Help with timer in java barney Advanced Java 1 08-01-2007 11:24 AM


All times are GMT +3. The time now is 09:28 PM.


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