Hi, is it possible to made two outputs at the end of the xpl file. First output is a file-serializer and the second output is a dynamic data ?
the code is like below : <p:processor name="oxf:xml-converter"> <p:input name="config"> <config/> </p:input> <p:input name="data" href="aggregate('root', #xmldb-query2, #xmldb-query4)"/> <p:output name="data" id="converter"/> </p:processor> <p:processor name="oxf:file-serializer"> <p:input name="config">   ; <config> <file>xmlfiles.xml</file> <directory>C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Project3/</directory> </config> </p:input> <p:input name="data" href="#converter"/> (first output) </p:processor> <p:processor name="oxf:identity"> <p:input name="data" href="#converter"/> &n bsp; <p:output name="data" ref="data"/> (second output) </p:processor> Thank you ! ----------------------------------------------------- -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Yes, it is possible. What's the problem with your code?
-Erik Wang Yan wrote: > Hi, is it possible to made two outputs at the end of the xpl file. First > output is a file-serializer and the second output is a dynamic data ? > > the code is like below : > > <p:processor name="oxf:xml-converter"> > <p:input name="config"> > <config/> > </p:input> > <p:input name="data" href="aggregate('root', #xmldb-query2, > #xmldb-query4)"/> > <p:output name="data" id="converter"/> > </p:processor> > <p:processor name="oxf:file-serializer"> > <p:input name="config"> > ; <config> > <file>xmlfiles.xml</file> > <directory>C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\Project3/</directory> > > </config> > </p:input> > <p:input name="data" href="#converter"/> (first output) > </p:processor> > > <p:processor name="oxf:identity"> > <p:input name="data" href="#converter"/> > &n bsp; <p:output name="data" ref="data"/> (second output) > </p:processor> > > > Thank you ! Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks, if this part is right, the problem probably comes from the catching of instance:data in my xslt view. I'll first check it !
En réponse à Erik Bruchez <[hidden email]> : Yes, it is possible. What's the problem with your code? ----------------------------------------------------- -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |