W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2006

Re: Component interfaces

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Mon, 16 Jan 2006 12:12:23 +0100
Message-ID: <43CB7F97.6060405@orbeon.com>
To: public-xml-processing-model-wg@w3.org

Alex Milowski wrote:

 > Alternately, you can embed the transfomation:

Embedding input infosets into the XML pipeline as an alternative to
referring to external URLs or XML infosets generated by earlier steps
of the pipeline is also a feature of XPL, and is a great way to avoid
creating dozens of very small external files when lots of constant
small XML documents are required. Such include processor
configurations, short XSLT transformations, etc. With XSLT's
simplified template modules, in particular, this allows you execute
inline XSLT transformations in a breeze:

<p:processor name="xpl:xslt">
     <p:input name="data" infosetref="#regexp-result"/>
     <p:input name="config">
         <!-- Inline transformation instead of external one -->
         <config xsl:version="2.0">
             <xsl:variable ..."/>
             <url><xsl:value-of select="..."/></url>
         </config>
     </p:input>
     <p:output name="data" infoset="url-config"/>
</p:processor>

-Erik
Received on Monday, 16 January 2006 11:12:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:46 GMT