Versions Compared

Key

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

...

Wiki Markup
{snippet:id=xslt|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/router-example.xml?rev=HEAD}

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

Wiki Markup
{snippet:id=route|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/router.xsl?rev=HEAD}

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://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/publish.xsl?rev=HEAD}

Splitting up an XML message into multiple service invocations

...

Wiki Markup
{snippet:id=example|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/split.xsl?rev=HEAD}

Why use Xalan?

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

...