How to copy external CSS and JavaScript in XSLT

前端 未结 3 1731
死守一世寂寞
死守一世寂寞 2021-02-02 18:25

I have an XSL transformation which outputs HTML. In the head element I have a CSS file reference.



        
3条回答
  •  无人共我
    2021-02-02 18:48

    Use a processing instruction to wrap the CSS content:

    
      
        
            
          
        ?>
      
    

    Then tweak the existing xsl:copy-of select statement to render it:

     
    

提交回复
热议问题