Nice Improving the wiki docu at http://activemq.apache.org/camel/xslt.html
Is very welcome. /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/ On Wed, Dec 10, 2008 at 11:23 AM, Ramon Buckland <[EMAIL PROTECTED]> wrote: > A Header (and possibly) a property is available as a param.. so > > <setHeader headerName="myParam"><constant>42</constant></setHeader> > <to uri="xslt:MyTransform.xsl"/> > > and the XSLT just needs to declare it at the top level for it to be > available. > > <xsl: ...... > > > <xsl:param name="myParam"/> > > <xsl:template ...> > > cheers > r. > > On Wed, Dec 10, 2008 at 20:18, Adrian Trenaman <[EMAIL PROTECTED]>wrote: > >> Hi there, >> >> Is there a way to configure an xslt component to apply XSLT parameters? For >> example, in the XSLT sheet I'd like to do: >> >> <xsl:param name="myParam">42</xsl:param> >> >> Then to reference it in the style sheet, use: >> >> <xsl:value-of select="$myParam"/> >> >> ... I'd like to be able to inject those parameters into my spreadsheet from >> the "xslt:" URI, something like: >> >> xslt:MyTransform.xsl?param.myParam=1234 >> >> Is this possible right now? >> >> Thanks, >> Ade >> >> >> >> >> >> >> >> >> >> >
