Hello

     I'm developing a wizard that enable users to graphicaly
     edit datas and save these into a public XML format.

     In this application i'd like to give users the possibility to produce
     something else than a XML file. In fact the idea is to give them the
     possibility to supply an XSL file for the wizard to build the output
     with a XalanTransformer object.

     This is possible because my data's memory representation is
     based from A to Z on Xerces DOM representation.

     Now here is my problem (i allways have problems :) :

     If the user want to produce multiple XSL transformation durring one
     session, should i use one transformer for all of these transformation;
     or should i recreate one transformer every time a transformation is
     asked ??.

     If the first solution is realistic compare to the standard usage pattern,
     so i have another problem.

     I'd like either give the user the possibility to set his own stylesheet
     parameters. Indeed, if he want to apply to the DOM data representation
     more than one stylesheet tranformation, how do i "reset" the
     stylesheet parameters ?
     This is not possible with the XalanTransformer interface.

     Do i simply set these parameters to an empty string ?

     thank you.

Regards.

benoit lefevre


Reply via email to