Is it possible to generate XML based on condition. I am getting the XML output from Database, but i want to display the nodes in such a manner based on the ID.
If id of the elements are same, they should come under one node.
Is it possible to generate XML based on condition. I am getting the XML output from Database, but i want to display the nodes in such a manner based on the ID.
If id of the elements are same, they should come under one node.
you can handle an xml in many ways and yes you can group the xml items per db id.
imho your question needs more details: how do you get the xml? how do you query the database?