How do I rename an attribute using XSLT?

前端 未结 2 1825
谎友^
谎友^ 2020-12-16 15:33

I have an xml like this:


I want to transform it to



        
2条回答
  •  囚心锁ツ
    2020-12-16 16:09

    This should do it, not quite sure of the {name()} but you could replace that with "person"

    > 
    >       
    >         
    >           
    >         
    >         
    >           
    >         
    >       
    >     
    

提交回复
热议问题