Hi dear Nabble staff,
...... i have a problem very difficult to solve for me....
....I have Oracle APEX Web developer to make a report in XSL-FO and to translate it into PDF and i want to customize reports made by APEX.
I tried to get current date and/or time in XSL-FO file but I can't to find a solution for this....
I tried to create customized functions made with Javascript, msxsl code and with XSQL but nothing....
this is my XSL-FO code......tell me what i should write and where!!!...thanks
<?xml version = '1.0' encoding = 'utf-8'?>
<xsl:stylesheet version="2.0"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns:fo="
http://www.w3.org/1999/XSL/Format"
xmlns:xlink="
http://www.w3.org/1999/xlink">
<xsl:output method="html" />
.....
<xsl:attribute-set name="page-number">
<xsl:attribute name="height">13.872pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="header-font">
.....
<xsl:template match="/">
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="master0" margin-left="66.6pt" margin-right="66.6pt" page-height="#PAGE_HEIGHT#pt" page-width="#PAGE_WIDTH#pt" margin-top="36.0pt" margin-bottom="36.0pt">
........
</fo:block>
<fo:block>
Page <fo:page-number/>
</fo:block>
<fo:block text-align="right">
<fo:external-graphic
src="
http://www.fiddlersgreen.net/AC/aircraft/Caproni-Stipa/IMAGES/Stipa-Caproni-cartoon.jpg" />
</fo:block>
<fo:block text-align="center">
STIPA bla bla bla bla bla bla
</fo:block>
<fo:block text-align="center">
STIPA bla bla bla bla bla bla
</fo:block>
....
</xsl:template>
</xsl:stylesheet>