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

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

Recommended Posts

  • Newbies
Posted

Well, I have used FMP6 for two years now and must admit, its awesome! We have FMP6 Unlimited that works great! Now we have FMP7 Advanced server and I cannot get the .xsl files to work! I used the handy little CDML/XML converter and still get errors. I though I had trouble in my files since my CDML pages were quite complex, so I built a very simple CDML page in FMP6, got it working, then ran the CDML converter, put in on my Advanced Server at:

library/Filemaker Server 7/Web Publishing/xslt template-files/fmp7test

and right away I get an error!

http://134.39.205.247/fmi/xsl/fmp7test/search.xsl

Thoughts, Ideas, Comments?

Below is the contents of this file used on this page

<?xml version="1.0" encoding="ISO-8859-1"?>

<?xslt-cwp-query param="-grammar=fmresultset"?>

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

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

<exclude-result-prefixes="xsl fmrs">

<xsl:output method="html" encoding="ISO-8859-1"/>

<xsl:template match="/fmrs:fmresultset">

<html>

<head>

<title>Test Search</title>

</head>

<body>

<h2>test Search Form</h2>

<p> step 1

<p><form method="post"><xsl:attribute name="action">/results.xsl</xsl:attribute>

<p> step 2

<p><input type="hidden" name="-db" value="test"/>

<p> step 3

<p><input type="hidden" name="-lay" value="MainLayout"/>

<p> step 4

<p>

<p> step 5

<p>First name<br/>

<p><input type="text" name="first name" value="" size="30"/>

<p> step 6

<p><input type="hidden" name="-max" value="25"/>

<input type="submit" name="-find" value="Start Search"/>

<p> step 7

</xsl:template>

</xsl:stylesheet>

  • Newbies
Posted

Well, I have used FMP6 for two years now and must admit, its awesome! We have FMP6 Unlimited that works great! Now we have FMP7 Advanced server and I cannot get the .xsl files to work! I used the handy little CDML/XML converter and still get errors. I though I had trouble in my files since my CDML pages were quite complex, so I built a very simple CDML page in FMP6, got it working, then ran the CDML converter, put in on my Advanced Server at:

library/Filemaker Server 7/Web Publishing/xslt template-files/fmp7test

and right away I get an error!

http://134.39.205.247/fmi/xsl/fmp7test/search.xsl

Thoughts, Ideas, Comments?

Below is the contents of this file used on this page

<?xml version="1.0" encoding="ISO-8859-1"?>

<?xslt-cwp-query param="-grammar=fmresultset"?>

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

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

<exclude-result-prefixes="xsl fmrs">

<xsl:output method="html" encoding="ISO-8859-1"/>

<xsl:template match="/fmrs:fmresultset">

<html>

<head>

<title>Test Search</title>

</head>

<body>

<h2>test Search Form</h2>

<p> step 1

<p><form method="post"><xsl:attribute name="action">/results.xsl</xsl:attribute>

<p> step 2

<p><input type="hidden" name="-db" value="test"/>

<p> step 3

<p><input type="hidden" name="-lay" value="MainLayout"/>

<p> step 4

<p>

<p> step 5

<p>First name<br/>

<p><input type="text" name="first name" value="" size="30"/>

<p> step 6

<p><input type="hidden" name="-max" value="25"/>

<input type="submit" name="-find" value="Start Search"/>

<p> step 7

</xsl:template>

</xsl:stylesheet>

  • Newbies
Posted

Well, I have used FMP6 for two years now and must admit, its awesome! We have FMP6 Unlimited that works great! Now we have FMP7 Advanced server and I cannot get the .xsl files to work! I used the handy little CDML/XML converter and still get errors. I though I had trouble in my files since my CDML pages were quite complex, so I built a very simple CDML page in FMP6, got it working, then ran the CDML converter, put in on my Advanced Server at:

library/Filemaker Server 7/Web Publishing/xslt template-files/fmp7test

and right away I get an error!

http://134.39.205.247/fmi/xsl/fmp7test/search.xsl

Thoughts, Ideas, Comments?

Below is the contents of this file used on this page

<?xml version="1.0" encoding="ISO-8859-1"?>

<?xslt-cwp-query param="-grammar=fmresultset"?>

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

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

<exclude-result-prefixes="xsl fmrs">

<xsl:output method="html" encoding="ISO-8859-1"/>

<xsl:template match="/fmrs:fmresultset">

<html>

<head>

<title>Test Search</title>

</head>

<body>

<h2>test Search Form</h2>

<p> step 1

<p><form method="post"><xsl:attribute name="action">/results.xsl</xsl:attribute>

<p> step 2

<p><input type="hidden" name="-db" value="test"/>

<p> step 3

<p><input type="hidden" name="-lay" value="MainLayout"/>

<p> step 4

<p>

<p> step 5

<p>First name<br/>

<p><input type="text" name="first name" value="" size="30"/>

<p> step 6

<p><input type="hidden" name="-max" value="25"/>

<input type="submit" name="-find" value="Start Search"/>

<p> step 7

</xsl:template>

</xsl:stylesheet>

Posted

Probably you edited some lines, I can't imagine that the CMDL2XSLT conversion tool made this mistake.

Instead of

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

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

<exclude-result-prefixes="xsl fmrs">

in the 4th-6th line write:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" exclude-result-prefixes="xsl fmrs">

Then you have the necessary start tag <xsl:stylesheet that matches your end tag <xsl:stylesheet> in the last line.

Martin

Posted

Probably you edited some lines, I can't imagine that the CMDL2XSLT conversion tool made this mistake.

Instead of

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

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

<exclude-result-prefixes="xsl fmrs">

in the 4th-6th line write:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" exclude-result-prefixes="xsl fmrs">

Then you have the necessary start tag <xsl:stylesheet that matches your end tag <xsl:stylesheet> in the last line.

Martin

Posted

Probably you edited some lines, I can't imagine that the CMDL2XSLT conversion tool made this mistake.

Instead of

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

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

<exclude-result-prefixes="xsl fmrs">

in the 4th-6th line write:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" exclude-result-prefixes="xsl fmrs">

Then you have the necessary start tag <xsl:stylesheet that matches your end tag <xsl:stylesheet> in the last line.

Martin

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