-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Yes. You can prepare your config XML snippet (say using the XSLT processor) and then just feed it into the oxf:file-serializer processor like this (not tested):
<p:processor name="oxf:xslt"> <p:input name="data" href="#instance"/> <p:input name="config"> <xsl:stylesheet version="2.0"> <!-- your config-producing XSLT below --> <xsl:template match="/"> <config> <directory>/home/user/xml/xml</directory> <file> <!-- here you can dynamically generate the file name using for example the <xsl:value-of select="somefunction()"/> --> </file> <make-directories>true</make-directories> <append>false</append> </config> </xsl:template> </xsl:stylesheet> <p:output name="data" id="myconfig"/> </p:processor> <p:processor name="oxf:file-serializer"> <p:input name="config" href="#myconfig" /> <p:input name="data" href="#converteddataForm" /> </p:processor> A. On 6.2.2009, at 20:41, Majeed Almadan wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |