Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Could not find variable default-record

Featured Replies

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

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

  • Author

Got it!! Thank you!

(CDML solution had nested tables which caused problems in the converted XSLT solution)

Thanks again, Brian

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.