Sorting cells as per ss:Index

前端 未结 1 1322
终归单人心
终归单人心 2021-01-29 08:14

Server generated XML-spreadsheet has random sequence of s in each . Which is required to be sorted.

I want to go with XS

相关标签:
1条回答
  • 2021-01-29 08:51
     <xsl:template match="Row">
    

    does not match anything in your input XML, because your input XML has a default namespace:

    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" 
    

    You have already declared this namespace in your stylesheet and assigned it a prefix - now all you have to do is use it:

    <xsl:template match="ss:Row">
    
    0 讨论(0)
提交回复
热议问题