Re: Current date integration
This definitly works (at least in my application). It might be a waste to define a new namespace for just own function, but it seems to be the only solution. Roland [EMAIL PROTECTED] schrieb am 30.04.02: Dear all, How is it possible to integrate (simply) current date to a xsl stylesheet ? This solution seems to be run, but it's constraining to define an own namespace for one function. xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:func=http://www.exslt.org/functions; xmlns:user=http://www.mcc-soft.com/mynamespace; extension-element-prefixes=func exclude-result-prefixes=user func:script implements-prefix=user language=javascript ![CDATA[ function today() { // body javascript function } ]] /func:script xsl:template match=/ xsl:value-of select=./br/ xsl:variable name=today select=user:today()/ /xsl:template /xsl:stylesheet Thanks for your help best regards, Sandrine - Paris France Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
tables on multiple pages (excel style)
Hi there, I got some weird problem to solve: I need to display a table 2 pages wide and n high. O.k. the table height is no problem a FOP continues the table on the next page, but is there some kind of solution to make it 2 pages wide, without cutting (splitting) it manually. Any ideas? Thanks a lot Roland Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
two blocks in one table-cell in the same line
Hi there, I got this lines of code: fo:table-cell border-left-color=black border-top-color=black border-top-width=1pt border-bottom-style=solid border-bottom-width=1pt height=20pt border-right-style=solid border-left-width=1pt border-right-width=1pt border-right-color=black border-left-style=solid border-top-style=solid border-bottom-color=black padding-top=5pt fo:block text-align=end end-indent=0.5cm font-size=8pt font-family=Times90/fo:block fo:block font-size=8pt font-family=Times90%/fo:block /fo:table-cell The thing I want to achieve is to have the 2 blocks in the same line (a little separated). Any ideas? I guess it is quite simple, but I just can't figure it out. Thanks in advance! Roland Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13