updating xml using xpath in xslt

I have a xml ; I need to update some values dynamically.For Ex :\[code\] <School> <class name=1> <students>10</students> <teacher>3</teacher> </class> <class name=2> <students>102</students> <teacher>13</teacher> </class></School>\[/code\]Where in other xml: i will have xpath and corresponding valueFor eg : \[code\] <data> <path>/school/class['name' = 1]/students</path><value>20</value> </data>\[/code\]so when i query thru xslt Default xml will be fetched and data related xml will also be fetched and need to replace the corresponding values.Is it possible to do thru xslt ..?
 
Back
Top