How create XML from XML using XSL?

前端 未结 3 2012
情书的邮戳
情书的邮戳 2020-12-30 06:17

How create XML from XML using XSL ?

I try like this.. but i not get a result

Test.xml

Alex <
3条回答
  •  情书的邮戳
    2020-12-30 07:02

    The problem is that "/" is the root, not the root element (or "document element").
    Hierarchically, "/" is one level above the document element (

    , in yor case). So this:

    
    
      
        

    would actually work. Note the tiny little difference? Nicer would be this:

    
    
      
      
        
          
        
      
    
      
      
        
      
    
      
        
      
    
    
    

提交回复
热议问题