Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Could not find variable default-record


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

Recommended Posts

Posted

After submitting a form (using XSLT - was CDML) to perform a find, I receive the following error:

Could not find variable with the name of default-record (XPATH-ER0081)

The line and column listed refer to a blank line.

Any ideas?

Brian

Posted

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

This topic is 7262 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.