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.

How to utilise '-token.error'

Featured Replies

Hello,

I am using XSLT with a FileMaker Database.

I have converted the CDML files running in FM 6 to XSLT using CDML converter.

I have been able to solve most of the conversion errors, with the exception of a few.

In one of the XSL files I am declaring a form like

the comment has been added to facilitate understanding

followed by a few

the next page i.e. customerverify.xsl gives all the data right but in case there is some data that is missing or if there is some required filed that needs to be filled up, the -token.error does not work.

Could you suggest an alternative to this, coz the CDML converter has given its output in this form.

the CDML format for this was

Thanks in advance.

-token.error will be handled by the two files cdml2xsl_utilities.xsl and cdml2xsl_includes.xsl

These are generated during CDML2XSLT conversion. You have to copy them, as well as the converted error files in XSLT do your xsl-template-files folder.

  • Author

Thanks Martin.

When I use the CDML converter, I do get the "cdml2xsl_utilities.xsl" but I do not get the

"cdml2xsl_includes.xsl".

Any solutions for this ???

Thanks in advance

Did you check the log file that was generated during the conversion? It might give some hints.

  • Author

Hello martin,

i did check out the log files, but there was nothig to help.

there is just the file cdml2xsl_utilities.xsl.

any other ways and means coz this thing has become a real pain and I have to write lots of JavaScript for each of these.

thanks in advance

Hmm. Were the CDML error files (missingdata.html, xxx_error.html) in the same path as the other files when you converted the solution?

Edited by Guest

  • Author

Hello Martin,

I have checked them out as well. I had placed all the required folders in the same path.

But I have stumbled upon something and feel that this should be able to help me out. But the only hitch is that I cannot find a variable by the name of "stored-find". Please find the complete xsl

<?xml version="1.0" encoding="UTF-8"?>

xmlns:fml="http://www.filemaker.com/fmpxmllayout"

xmlns:fmq="http://www.filemaker.com/xml/query"

xmlns:fmrs="http://www.filemaker.com/xml/fmresultset"

xmlns:fmxslt="xalan://com.fmi.xslt.ExtensionFunctions"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

1

Sample:11/22/2004 04:31

true

summaryreport.xsl?

&-findall

&-findall

Please help

Is this a file that is included with xsl:include in another file? Then you should find the variable definition there.

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.