Hi, 

I still have no idea how to do it.  Any suggestion will be highly appreciated.



On 7/13/05, Jarry Liu <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am using java control flow. In the middle of the flow, I need use
> DomParser function parse( String file) to read the new xml file that I
> got from the pipeline. I use sourcewriting transformer to write the
> new xml to disk and nameed it as temp.xml  and then parse it to
> DomParser. But after writing source to hard disk, I find I lost the
> continuation id and can't go back to control flow. I tried to use
> "redirect", but not work.  Any idea to fix it ?  Can I read in the new
> xml file (which should be in memory) without writing to hard disk? If
> so, how can I do it?
> 
> Thanks a lot.
> 
> Jarry
> 
> 
> 
> <!---sitemap:xmap-->
>  <map:match pattern="multchoice/*">
>          <map:generate type="jx" src="questions/{1}.xml"/>
>          <map:transform src="xslt/getMathML.xsl">
>             <map:parameter name="contextPath"
> value="{request:contextPath}"/>
>          </map:transform>
>          <map:transform type="write-source">
>             <map:parameter name="serializer" value="xml"/>
>          </map:transform>
>          <map:transform src="xslt/redirect.xsl">
>          </map:transform>
>          <map:serialize />
>       </map:match>
> 
> // in java file
> ......
>  parse(temp.xml);
> .....
> 
> //in getMathML.xsl:
> 
> <source:write serilizer="xml">
>        <source:source>page/temp.xml</source:source>
>          <source:fragment>
>            <math xmlns="http://www.w3.org/1998/Math/MathML";>
>              <xsl:apply-templates/>
>           </math>
>          </source:fragment>
>     </source:write>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to