XSLT call-template with dynamic QName?

前端 未结 5 1479
闹比i
闹比i 2020-12-31 20:13

I have searched all around to find a solution to my problem, but i just got more questions...

consider the following XML:


               


        
5条回答
  •  梦毁少年i
    2020-12-31 20:56

    If you are using the old Saxon-B or newer Saxon-PE or Saxon-EE as XSLT processor, you can use a saxon extension to achieve dynamic template calls:

    
         
    
    
    
    

    Don't forget to declare the saxon-Namespace in xsl-stylesheet element:

    
    

提交回复
热议问题