Two outputs in a xpl file !

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Two outputs in a xpl file !

Wang Yan
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 !

-----------------------------------------------------
Romandie Annonces : http://annonces.romandie.com
Petites annonces 100% gratuites entre romands
-----------------------------------------------------




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Two outputs in a xpl file !

Erik Bruchez
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
Reply | Threaded
Open this post in threaded view
|

Re: Two outputs in a xpl file !

Wang Yan
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?

-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="convert er"/>
> </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>
& gt;
>
> Thank you !

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



message-footer.txt

--
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


-----------------------------------------------------
Romandie Annonces : http://annonces.romandie.com
Petites annonces 100% gratuites entre romands
-----------------------------------------------------




--
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