• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing and XML file

 
adrian mills
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you post some code and explain a lil bit more on what you are trying to do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic