jQuery in Action, 2nd edition*
The moose likes XML and Related Technologies and the fly likes Parsing and XML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Parsing and XML file" Watch "Parsing and XML file" New topic
Author

Parsing and XML file

adrian mills
Ranch Hand

Joined: Dec 09, 2004
Posts: 63
Hi Friends,
I am parsing and XML file which is as follows :--
<sql-configuration>
<type-mapping>
<database-mapping>
<databaseserver>MSSQL</databaseserver>
</database-mapping>
<function-mapping>
<function-name>Not Equal</function-name>
<function-sql><></function-sql>
</function-mapping>
</type-mapping>
</sql-configuration>


In the above code I would like the <> combination to be replaced by the symbol <> but when I parse this file using Java and store the contents in a hashtable only the "<" is stored.What could be the reason can anyone help me out?

Thanks in advance.
Regards
Adrian.
Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
can you post some code and explain a lil bit more on what you are trying to do?
 
Don't get me started about those stupid light bulbs.
 
subject: Parsing and XML file
 
Similar Threads
javax.jms.JMSSecurityException: User null is NOT authenticated
stuck up in the problem
Parsing an xml file
Parsing Exception - Hibernate
how to make the column unique?