<student name="{name}" dob="{dob}"/> </xsl:template> </xsl:stylesheet> Explanation The select attribute here identifies the Xpath of the nodes to process the context node. In the above code, the apply template uses the sort attribute to sort the specific node name and dob. The childre...