Searching XML through Java Codes -


i have around 30 xml files proper formatting , huge amount of data. want search these xml files specific data retrival. can suggest site or blog can use aguideline solve problem.

i need search inside of each tag keyword provided user. , sometime specific tag name return content inside tag according user request.

example : a.xml, b.xml, c.xml

inside a.xml   <abc> content  </abc> 

user may search abc tag or keyword inside content. in both cases should return content or if more 1 match should return link both clicking user can see them 1 one.

i'd recommend using xpath, sql-like language searching in xml documents

http://www.ibm.com/developerworks/library/x-javaxpathapi.html


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -