XSLT output formatting: keep line breaks, remove indent

后端 未结 1 1768
梦如初夏
梦如初夏 2021-01-27 15:14

Here\'s my XML:


  
- T 1
1条回答
  •  暖寄归人
    2021-01-27 15:37

    If you don't strip and don't indent, but transform white space text nodes to a line break, as in

    
    
    
    
    
    
      
        
          
        
      
    
    
        
    
    
    
    
    

    then the result is hopefully what you want.

    0 讨论(0)
提交回复
热议问题