Greetings to the group,
Is it possible to check a value before assigning a variable to it?
We use an application resource file that contains our static text
strings for the PDF for dual language reasons.
I would like to check and see if there is an entry in the application
resource file before assigning a variable with the resource entry
<xsl:variable name="secondLevelHeader" select="java:getString
If it is present then the variable secondLevelHeader would hold the
resource value but if it is not present in the file then I would like
to assign an empty string "" to the variable.
Currently if FOP cannot find a matching key in the resource file it
Any help on this matter is gratefully appreciated :)
With thanks in advance,