from reads the xml file your uri points to.
the to endpoint then transforms your xml into html. You just have to output the 
generated html to a file by again using the file-component.

<?xml version="1.0" encoding="UTF-8"?>
<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="
      http://www.osgi.org/xmlns/blueprint/v1.0.0
      http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd";>
    <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
      <route>
        <from uri="file:start.xml"/>
        <to uri="xsl:design.xsl"/>
        <to uri="file:target?fileName=output.html"/>
      </route>
    </camelContext>
</blueprint>

Reply via email to