camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramon Buckland" <ra...@thebuckland.com>
Subject Re: Using XSLT parameters with the Camel XSLT component
Date Wed, 10 Dec 2008 10:41:42 GMT
Added http://cwiki.apache.org/confluence/display/CAMEL/XSLT

On Wed, Dec 10, 2008 at 21:30, Claus Ibsen <claus.ibsen@gmail.com> wrote:

> 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 <ramon@thebuckland.com>
> 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 <trenaman@progress.com
> >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
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message