Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using xsl:import and trying to access a variable defined in another xsl

88306Dec 5 2001
Hi
I am having a a.xsl file with contents liek this :
...
<xsl:variable name="PersonId" select="'1910'"/>
...

inside b.xsl i am importing a.xsl like
...
<xsl:import href="a.xsl"/>

<xsl:value-of select="$PersonId"/>
...

This is working fine when i am testing it standalone.

when i port the code to weblogic server (meaning when all the
project related files are placed in proper location in
weblogic) and start the application then i get the error msg :
xsl:1031 variable not defined 'PersonId'.

i tried giving the enite path like :http://localhost:7001/....
even then problem remains unresolved.

am i making any mistake ?

Thank you
Regards
Jaya
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2002
Added on Dec 5 2001
3 comments
524 views