Jump to content

import variable

Recommended Posts

.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?

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...