Last modified on 4 February 2010, at 19:31

XProc/Simple Pipe


You want to create a pipeline that runs a simple XSLT tranform.

Source CodeEdit

<p:pipeline xmlns:p="">
        <!-- Simple XML Source (inline) -->
        <p:input port="source">
                <xml>Inline XML conversion with inline XSLT using XProc</xml>
        <!-- XSLT Transform (inline) -->
        <p:input port="stylesheet">
                <xsl:stylesheet xmlns:xsl=""
                    <xsl:output method="xml" indent="yes" encoding="UTF-8" />
                        <xsl:output method="xhtml"
                        transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0
                        Transitional// EN" indent="yes" />
                    <xsl:template match="/xml">
                                <title>XSLT to XHTML via XProc</title>
                                    <xsl:value-of select="." />