Custom Web Publishing Guide

Table Of Contents
82 FileMaker Server Advanced Custom Web Publishing Guide
1 When debugging a stylesheet, you can use the following example of an HTML <textarea> tag to display
the XML source document that was accessed via the stylesheet in a scrolling text area. On the same page,
you can compare the transformed XSLT results against the XML source document before the
transformation.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fmrs="http://www.filemaker.com/xml/fmresultset">
<xsl:output method="html"/>
<html>
<body>
<xsl:template match="/fmrs:fmresultset">
<textarea rows="20" cols="100">
<xsl:copy-of select="."/>
</textarea><br/>
</xsl:template>
</body>
</html>
</xsl:stylesheet>
Monitoring your site
You can use the following types of log files to monitor your Custom Web Publishing site and gather
information about web users who visit your site:
1 Web server access and error logs
1 Web Publishing Engine application log
1 Web Server Module error log
1 Web Publishing Core internal access logs
Using the web server access and error logs
The Apache web server generates an access log file and an error log file. The Apache access log file, which
is in the W3C Common Logfile Format by default, is a record of all incoming HTTP requests to the web
server. The Apache error log is a record of problems involving processing HTTP requests. For more
information on these log files, see the documentation for the Apache web server.
The Microsoft IIS web server generates an access log file and displays errors in the Windows Event Viewer
instead of writing them to a log file. The access log file, which is in the W3C Extended Log File Format by
default, is a record of all incoming HTTP requests to the web server. You can also use the W3C Common
Logfile Format for the access log. For more information, see the documentation for the Microsoft IIS web
server.
For information on the W3C Common Logfile Format and the W3C Extended Log File Format, see the
World Wide Web Consortium’s web site at www.w3.org.