xslt flattening out child elements in a DocBook para element

后端 未结 3 493
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-26 01:16

I am transforming some generated DocBook xml (from Doxygen) to my companies xml which is really a subset of DocBook. There is a para element like the following:

         


        
3条回答
  •  心在旅途
    2021-01-26 01:55

    I had to correct a bit of your XML example so that it was well-formed. But the following:

        
            
                
                    
                        
                            
                        
                    
                    
                        
                    
                
            
        
        
            
        
        
            
        
        
            
        
    

    Outputs:

    some text..... 
    
    
     more text.... 
     ... 
    even more text ...
    text also look here more text.

    I hope that helps.

提交回复
热议问题