Re: JAVA/XML: searching and replacing a node
Thursday, July 4, 2002 03:14 AM
The ever best soultion of this problem is XPath. XPath is an expression language like SQL for RDBMS. Java XML Pack supports XPath.
An XPath sample query is as follows:
this query contains parent child relationship like XML Doc contains. It will retrieve the information of that student who has 1 as his id in XML Doc.
www.java.sun.com/xml is best source for this solution.