Jump to content

Could not find variable default-record


Brian Paquin

This topic is 7073 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Open the xsl file mentioned in the error message in a text editor. Within the editor, try to find "$default-record". Probably you'll find it in a

<xsl:value-of select="$default-record/... "/>).

This will be the call of the variable.

The definition of the variable you should find before this call is something like:

<xsl:variable name="default-record" select="some XPath here"> or

<xsl:variable name="default-record">some code here</xsl:variable>

or <xsl:param ...> instead of <xsl:variable ...>.

It might also be that you find the variable in one of the files referenced in

<xsl:include href="..."/> or <xsl:import href="...">

Try to figure out why the variable was not defined, or its content is empty.

Martin

Link to comment
Share on other sites

This topic is 7073 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.