On 28/03/2008, James Strachan <[EMAIL PROTECTED]> wrote: > On 28/03/2008, David Siefert <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Is there an example of using an XSLT in the Spring XML configuration? > > > Yes I've just added one here... > > http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/XsltTest.java > > the XML is linked below... > > > > > I have something like the following: > > > > <route> > > <from uri="..." /> > > <to uri="xslt:..." /> > > <!-- *but now what?* --> > > > if you have an InOut route (e.g. a WS invocation, a request response > over JMS using a JMSReplyTo or via a HTTP POST) then you're done, the > result is returned. > > If you are doing one-way messaging, just add another destination for > the result. e.g. another <to/> > > > > </route> > > > > The XML Schema says I can only have one <to />. > > > I don't think it does (or rather maybe thats an old XSD you're looking at?) > > e.g. see the test XML.. > > http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/XsltTest-context.xml
I've just updated the XSLT wiki page with links to these... http://cwiki.apache.org/CAMEL/xslt.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
