Brian Paquin Posted January 4, 2005 Posted January 4, 2005 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
Martin Brändle Posted January 4, 2005 Posted January 4, 2005 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
Brian Paquin Posted January 6, 2005 Author Posted January 6, 2005 Got it!! Thank you! (CDML solution had nested tables which caused problems in the converted XSLT solution) Thanks again, Brian
Recommended Posts
This topic is 7619 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 accountSign in
Already have an account? Sign in here.
Sign In Now