xslt flattening out child elements in a DocBook para element

后端 未结 3 447
佛祖请我去吃肉
佛祖请我去吃肉 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 02:21

    You can turn every text node within a para element into its own para using something like

    
      
        
      
    
      
        
      
    
      
        
      
    
    

    but this may not be sufficient if you only want to break up the para at certain child elements and not others.

提交回复
热议问题