Menu

External parameters

Help
Anonymous
2001-08-14
2012-10-08
  • Anonymous

    Anonymous - 2001-08-14

    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.

     
    • Michael Kay

      Michael Kay - 2001-08-29

      Use the method setParameter() on the javax.xml.transform.Transformer interface.

      Sorry for the delay in responding, I have been on holiday.

      Mike Kay