rmoney 0 Posted September 7, 2007 Report Share Posted September 7, 2007 .I built a variable in RuleStore/ESS5E/ESS5E-DMSLINES.xsl called cs1500Job and it works fine in that style sheet. <xsl:variable name="cs1500Job" select="dserv:getProperty($sourceModel,'ProcChoicesCS1500Job')"/>I want to use it in another style sheet RuleStore/DMS100/DLINEINV-Export_BASH.xsl I tried building it the same in this style sheet but I get the following error:java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.getProperty([ExpressionContext,] #STRING).: I have tried to build it several different ways with no luck, I also tried to include and import ESS5E/ESS5E-DMSLINES.xslNo Luck. Can anyone tell me how to use a variable in one style sheet in a different style sheet? Quote Link to post Share on other sites
boen_robot 107 Posted September 7, 2007 Report Share Posted September 7, 2007 What sort of extension function is this one? A processor specific one, or created in XSLT 2.0 with <xsl:function/>?If the second, just <xsl:import/> or <xsl:include/> a single file containing the function.If it's a processor specific function, written in that processor's language, then I'm afraid I can't help you with that. You'll have to seek help from the XSLT processor's vendor, possibly giving out your JAVA code. Quote Link to post Share on other sites
rmoney 0 Posted September 7, 2007 Author Report Share Posted September 7, 2007 It is A processor specific one, That was what I was afraid of, the Java Code is Propritary. Thanks for the reply. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.