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 an...@infotn.it on 2002/01/25 10:23:50 UTC

FO: how use javascript with FOP?


I used FOP to convert an xml plus xsl in a pdf  document. However, I'm not able
to use javascript with FOP.
I tried to write so:
<script language="Javascript">
<xsl:comment><![CDATA[
     origen = "]]><xsl:value-of select="valores/valor/@origen"/><![CDATA[";

     function rl(){
          xxx
     }

//]]></xsl:comment>
</script>

But Fop don't know the tag script.
How can I do it?

Thanks a lot in advance.
Regards
Anna.