XSL Transformation in Java with parameters

前端 未结 2 1552
借酒劲吻你
借酒劲吻你 2020-11-30 05:00

I have a xsl file where i need to use parameters from an external source. I am using Java and my code looks something like this:

TransformerFactory transform         


        
2条回答
  •  囚心锁ツ
    2020-11-30 05:25

    rsp's answer was spot on. Thanks. Just want to add that you cannot pass a parameter to a variable in the same way (I am setting parameters via Java's TransformerFactory).

    I made the mistake of thinking variables and params were interchangeable :)

提交回复
热议问题