MysorePak Posted April 29, 2016 Report Posted April 29, 2016 java lo XML node element value ela kanukuntaru... i got a large xml and i need some node name and values to convert into small xml so adhi ela chestharu in java before: <abc> <123> <ralpha> </sralpha> </123> <sun> <moon> <earth> <planet>abc</planet> <cinema> <movie> <telugu>ABC</telugu> </movie> </cinema> </earth> </moon> </sun> </abc> final output <abc> <sun> <moon> <telugu>ABC</telugu> </moon> </sun> </abc> Quote
PhillyDotNetGuy Posted April 29, 2016 Report Posted April 29, 2016 http://stackoverflow.com/questions/773012/getting-xml-node-text-value-with-java-domhttp://stackoverflow.com/questions/4076910/how-to-retrieve-element-value-of-xml-using-java Xpath use chei....I worked on reading XML entirely for 2 weeks.....I forgot........ Quote
bobby12345 Posted April 29, 2016 Report Posted April 29, 2016 Xpath find out chyee a particular node Ki...use xml spy or online tools to find out xpath.. Quote
RamanaReddy Posted April 29, 2016 Report Posted April 29, 2016 1 hour ago, PhillyDotNetGuy said: http://stackoverflow.com/questions/773012/getting-xml-node-text-value-with-java-domhttp://stackoverflow.com/questions/4076910/how-to-retrieve-element-value-of-xml-using-java Xpath use chei....I worked on reading XML entirely for 2 weeks.....I forgot........ +1 XPath is good parser Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.