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

Can anyone tell me what this line does?


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

Recommended Posts

Posted

I actually have two pieces of code I need help with:

First:

?xslt-cwp-query params="-db=GFS&-lay.response=web_specs&-grammar=fmresultset&-encoding=UTF-8"?

If so could you also disect the meaning of each part please.

Second:

fmxslt:break_encode(.)

I know what the period stands for but I do not know what this function does.

Thanks,

Nick

Posted

The answer would be a little bit long for the first question. The best is, you look it up in the FMS7A Custom Web Publishing Guide on page 51 and in Appendix A.

The fmxslt:break_encode function is described on p. 64.

The FMS7A CWP Guide should be on your FMS7A CD, or in your /Applications/FileMaker Server 7/English Extras/Electronic Documentation folder.

Posted

I agree with Martin, read the guides!

However, this little processing instruction is such a great wonder, it ought to be shouted about.

STANDARD WEB REQUEST (http hyperlink)???

'... "http://mydomain.com/fmi/xsl/mystylesheet.xsl?-db=GFS&-lay.response=web_specs&-grammar=fmresultset&-encoding=UTF-8">my link</a>

Of course, when you click on this link. Your user can SEE everything! This includes the name of the database, the name of the layout, the grammar... You get the picture.

But, if you use the processing instruction within your XSLT, you can *just* send the user to the page with all the HIDDEN parameters!

NEW WEB REQUEST with CWP:

'... "http://mydomain.com/fmi/xsl/mystylesheet.xsl">my link</a>

Whatever parameters are in the processing instruction '<?xslt-cwp-query ...", will be used. You can include just about anything. Again, read the user guides about this instruction and all of the custom functions and processing instructions!

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