Changing node name of xml-node with Java

后端 未结 5 1573
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 05:42

I have following scenario: I have a XML-Document, e.g. like this



    

        
5条回答
  •  渐次进展
    2020-12-30 06:04

    Your tag1 is invalid. It doesn't have closing >. Also the attributes should be quoted. It should look like this,

    
    
        
        
        
    
    
    

    Try with the corrected XML. It should work.

提交回复
热议问题