You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ju...@steria.be on 2002/05/29 15:52:03 UTC

Re: xsl:script and FOP

<xsl:script> does not exist !
If you intend to implement some javascript (or others), just use <xsl:text>
!
Remember to replace < by &lt;, > by &gt; and & by &amp; or you'll get
plenty of errors !




                                                                                                                                              
                    Marina PĂ©rel                                                                                                              
                    <marina.perel        To:     <fo...@xml.apache.org>                                                                    
                    @sib.fr>             cc:                                                                                                  
                                         Subject:     xsl:script and FOP                                                                      
                    29/05/2002                                                                                                                
                    16:36                                                                                                                     
                    Please                                                                                                                    
                    respond to                                                                                                                
                    fop-user                                                                                                                  
                                                                                                                                              
                                                                                                                                              




Hi!
I would like to know if FOP implements the tag <xsl:script> because i 'd
like to insert into my XSL steelsheet some javascript's code.
My stylesheet looks like :


<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns:fo="
http://www.w3.org/1999/XSL/Format">


<xsl:script language="javascript" implements-prefix="js">


function impresion(i){return i;};


</xsl:script>


..... </xsl:stylesheet>


When i launch FOP i have this error =>  ERROR : null


Does anybody have ideas ?
Thanks a lot in advance for your answers
Marina