xsl:sort with apply-templates not sorting

前端 未结 2 1541
一整个雨季
一整个雨季 2021-01-04 10:42

I have quite a large XSL document for an assignment that does a number of things. It is nearly complete but I missed a requirement that it has to be sorted and I cannot get

2条回答
  •  醉梦人生
    2021-01-04 11:32

        
            
        
    

    selects the staff elements and sorts them, but there is only one staff element, so this is a no-op.

    Change to

        
            
        
    

    then that selects all the member elements and sorts them.

提交回复
热议问题