|
-
xml deserilization
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.
Similar Threads
-
By Tim in forum xml.announcements
Replies: 0
Last Post: 10-11-2001, 04:00 PM
-
By xmlstartkabel in forum XML
Replies: 0
Last Post: 10-10-2001, 04:07 AM
-
By Tim Frost in forum xml.announcements
Replies: 0
Last Post: 04-02-2001, 10:53 AM
-
By Extensibility in forum web.announcements
Replies: 0
Last Post: 07-20-2000, 06:20 PM
-
By Sales in forum xml.announcements
Replies: 0
Last Post: 07-20-2000, 06:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks