Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=xslt|lang=xml|url=http://svn.servicemix.codehausapache.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/xslt/router-example.xml}

 

Then we provide a file in XSLT format, with some JBI extensions

Wiki Markup
{snippet:id=route|lang=xml|url=http://svn.servicemix.codehausapache.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/xslt/router.xsl}

 

In the above example, depending on the value of the @id attribute, we invoke different services.

...

Wiki Markup
{snippet:id=route|lang=xml|url=http://svn.servicemix.codehausapache.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/xslt/publish.xsl}

 

Splitting up an XML message into multiple service invocations

...

Wiki Markup
{snippet:id=example|lang=xml|url=http://svn.servicemix.codehausapache.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/xslt/split.xsl}

 

Why use Xalan?

We use Xalan to implement our XPath based router and transformation engine. The main reasons for doing so are

...