Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml parser configuration file

 
avinash nk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing a simple xml parser in java,

please explain how can i read xml tag names from a properties file?

here is code i'm currently working on, I'm using an test.xml file to read data, How can i set up a .properties file to read xml tags?



 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by use a properties file for reading xml tags? Why do you need a properties file and what content do you expect in that properties file?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do realize that the java.util.Properties class has read from XML and store to XML methods, right?

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic