xalan

passing xml nodes/documents/fragments as parameters to xslt

I tried to pass a w3c.dom.Document, Element and NodeList as parameters to a xslt transform. I want to be able to process it within the xslt: <xsl:param name="links" /> <xsl:template match="/"> <record> <xsl:for-each select="$links/*"> <test /> </xsl:for-each> </record> </xsl:template> I pass the ...

ERROR: 'The first argument to the non-static Java function 'evaluate' is not a valid object reference.' when using TrasformFactory

I am trying to transform an xsl + xml to xml (for later on transforming it into a pdf using FOP library). The JDK I am using is 1.5, and there is no way I can use another (that is what the company I work in is using). I read that the xalan jar of java 1.5 is the one responsible for the error. The text that causes the error is: "dyn:...

using xml as xsl variable

I have to create slightly dynamic pdf (two variables) with two text blocks in different languages. Most of the text in both blocks is static I was thinking if I could create one template that would create xsl-fo for the layout. Then create two variables containing custom xml. Something like: <xsl:variable name="TEXT_CONTENT_ENG" > ...

XSL Transform cannot invoke user defined Java Method

Hi, I have the following XSL which defines a namespace for my Java Class. In a nutshell I'm trying to point to a different resource bundle depending upon a value in my XML file (I know Resource Bundles are really for internationalization but why re-create the wheel?): <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/...