Is there something “like” CSS built into XSL-FO?

后端 未结 2 821
盖世英雄少女心
盖世英雄少女心 2021-02-08 14:30

I know that XSLT itself has attribute-sets, but that forces me to use


every time I want to output an<

2条回答
  •  没有蜡笔的小新
    2021-02-08 15:23

    In XSLT 2.0 there is also another option. The following template can be in a seperate file. You only need to include this file in the original xsl file that generates the FO structure.

    
    
        
            
            
                
            
    
            
            
        
    
        
            
            
                
                    
                        
                    
                    
                
                
        
    
        
        
        
    
        
            
            
        
    
        
            
            
            
        
    
    
    

提交回复
热议问题