How can I sort elements by new counted values in their child element. XSLT 1.0
问题 I have an xml sheet of this kind: <houses> <house number="1"> <mainroom> <roomprice>5</roomprice> <roomtax>2</roomtax> </mainroom> <roompricefull> <price value="8"/> </roompricefull> </house> <house number="2"> <mainroom> <roomprice>3</roomprice> <roomtax>1</roomtax> </mainroom> <roompricefull> <price value="7"/> </roompricefull> </house> <house number="3"> <mainroom> <roomprice>9</roomprice> <roomtax>1</roomtax> </mainroom> <roompricefull> <price value="4"/> </roompricefull> </house> <house