I want to pass an external paramater to my xsl-sheet like dir=d:\test\.
How can I do this in saxon in a java program?
The method to put the parameter (void put(int fingerprint, Value val)) uses a fingerprint and a value. I tried to get the fingerprint from the String "dir", and to use "d:\test\" as value but this seems not to be the right way? How should I proceed ?
Thank you for your answers.
Anne.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I want to pass an external paramater to my xsl-sheet like dir=d:\test\.
How can I do this in saxon in a java program?
The method to put the parameter (void put(int fingerprint, Value val)) uses a fingerprint and a value. I tried to get the fingerprint from the String "dir", and to use "d:\test\" as value but this seems not to be the right way? How should I proceed ?
Thank you for your answers.
Anne.
Use the method setParameter() on the javax.xml.transform.Transformer interface.
Sorry for the delay in responding, I have been on holiday.
Mike Kay