ops
Rev 102 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!--
Copyright (C) 2004 Orbeon, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software Foundation; either version
2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:oxf="http://www.orbeon.com/oxf/processors">
<p:param type="input" name="hello"/>
<p:param type="output" name="data"/>
<p:processor name="oxf:xslt">
<p:input name="data" href="#hello"/>
<p:input name="config">
<xsl:stylesheet version="1.0">
<xsl:template match="/beans/hello">
<document>
<header>
<title>PresentationServer - Struts PDF Example</title>
</header>
<body>
<section>
<title>Hello World PDF Example</title>
</section>
<section>
<title>Message</title>
<p>
<xsl:value-of select="message"/>
</p>
</section>
</body>
</document>
</xsl:template>
</xsl:stylesheet>
</p:input>
<p:output name="data" id="doc"/>
</p:processor>
<p:processor name="oxf:xslt">
<p:input name="data" href="#doc"/>
<p:input name="config" href="document2fo.xsl"/>
<p:output name="data" ref="data"/>
</p:processor>
</p:config>
Generated by GNU enscript 1.6.4.