Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 04-15-2009, 08:03 AM   #1
Default xml file reading in java /deserialization in java


Please help me, I am new to Java .
My xml file structure is as follows---
<Procedure>
<SP>
<ID>100</ID>
<Name>Employee</Name>
<Inputs>
<Input NAME ="asasa" DATA="sasas"/>
</Inputs>
</SP>
<SP>
<ID>101</ID>
<Name>Display</Name>
<Inputs></Inputs>
</SP>
</Procedure>
I have generated the classes for the xml file using the commmand xjc.
Now I need to fetch the data from the xml file and put them in the hash table.
I tried with the decoder I got the exception java.lang.Exception: "Unrecognized opening tag: SP " the same exception was repeted to all the elements/tags of the xml file.
Please anyone get me out of this. Is there anything(crisp nad easy way) similar to serialization in .Net.


sowmyask
sowmyask is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Websites content reading code like title of any website. Ali_ggl General Help Related Topics 0 01-24-2008 05:37 AM
Problem reading DVD+RW on Panasonic DMR-EH55. metatech@flashmail.com DVD Video 7 08-08-2007 08:43 PM
A+ magazines and reading material simon9797@hotmail.com A+ Certification 3 05-21-2007 04:07 PM
serial port reading faran Software 0 11-01-2006 07:14 PM
DVD Reading probelm michelebargeman@yahoo.com DVD Video 1 03-15-2006 05:59 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46