Chandrajit Posted September 22, 2005 Posted September 22, 2005 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.
Martin Brändle Posted September 22, 2005 Posted September 22, 2005 -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.
Chandrajit Posted September 23, 2005 Author Posted September 23, 2005 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
Martin Brändle Posted September 24, 2005 Posted September 24, 2005 Did you check the log file that was generated during the conversion? It might give some hints.
Chandrajit Posted September 26, 2005 Author Posted September 26, 2005 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
Martin Brändle Posted September 26, 2005 Posted September 26, 2005 (edited) 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 September 26, 2005 by Guest
Chandrajit Posted September 27, 2005 Author Posted September 27, 2005 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
Martin Brändle Posted September 27, 2005 Posted September 27, 2005 Is this a file that is included with xsl:include in another file? Then you should find the variable definition there.
Recommended Posts
This topic is 6998 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