Re: JSP Custom tag and XML/XSL transformation

2003-08-18 Thread Dave Butler
Not exactly but in JSP 1.2

 
   


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



JSP Custom tag and XML/XSL transformation

2003-08-17 Thread Thierry Thelliez
Assuming that a custom tag outputs an XML formatted data structure, do we
have to use a temporary file for an XSL transformation?

What we did so far is to:
1- define a random file name from the JSP page,
2- call the tag from the JSP page (with the random file name as parameter), 
3- have the tag export the XML in a temporary file (filename defined above),

4- load the XML file and execute the XSL transformation from the JSP page,
5- delete the file after transformation in the JSP page.

Is that a good practice (using a temporary file)? Or is there a way to have
the XML directly returned in a String/Stream.

Regards,
Thierry Thelliez



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