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.

Formatting XSLT Code in Filemaker 7

Featured Replies

  • Newbies

I am using Filemaker 7 Pro and Filemaker 7 advanced to host databases. I use Filemaker site assistant to export the file into xslt code then I take the xslt code and try to change the background, but when I do try this and drop these files back on the server to host the database I get an error. When I change the code I am using either Dreamweaver or notepad, but either one makes any difference when I drop it back on the server because the file errors out when viewed on the web. If I change the file and preview it in Dreamweaver it works exactly the way I want it, but not when I go drop it back on the Server. Could someone please help.

What are your preferences in Dreamweaver for handling these types of files? You can prevent any automatic editing in Dreamweaver.

Also, you have to *carefully* change any of the created code.

Can you post the snippet of the code you want to change (as it was 'new', and what you changed)?

  • Author
  • Newbies

Here is the code I changed: <body bgcolor="#ffffff" to -> <body bgcolor="#gaffhj" I changed this in dreamweaver, but I get errors when I upload to the server. How do I prevent automatic changes in Dreamweaver?

1. I would not recommend Dreamweaver, it is not XSLT compliant. Either use a texteditor that is able to output Unicode, or an XML editor like XMLSpy, Oxygen or similar.

2. Only hexadecimal values or named colors are allowed as colors in HTML. #gaffhj is not a hexadecimal number. For a color picker see e.g. here: http://de.selfhtml.org/helferlein/farben.htm

  • Author
  • Newbies

How would I add a background image in xslt code then?

Background image or color?

For background image: Change the body tag accordingly: <body background="background.jpg">. The background image must be either a gif or a jpg. Or better, because the background attribute is deprecated, use a CSS style:

<body style="background-image:url(background.jpg)">

For background color: <body bgcolor="#triple-hexadecimal-value"> (see my hint for the color picker), or better, because the bgcolor attribute is deprecated, use a CSS style:

<body style="background-color:#CCFFFF">

Or use a CSS stylesheet that sets your styles centrally.

What you can do with Dreamweaver if big parts of your XSLT are just HTML:

First make a HTML file. Convert it to XHTML within DW. Then copy the parts you need into your XSLT template.

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.