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.

cdml to xml - images

Featured Replies

I thought a good place to start with xml would be to convert on e of the old CDML solutions that came with FMP5. So I took the employee example and converted it. For the most part it works, but none of the icons that sit in a folder call IMAGES load here is the conde

search.xsl?-db=Employees&-lay=Detail&-viewsearch_black.gif

rivet, I am having a similar problem at the moment. Page-45 of the Custom Web Publishing Guide under "Using Filemaker XSLT stylesheets in a web site or program" #2, states:

"If your XSLT stylesheets reference static files, such as static images or HTML files, place the static files in their original folder hierarchy within the root folder on the web server. Make sure the relative path is preserved.

For example, suppose an XSLT stylesheet references an image file called logo.jpg by using the HTML tag "img src="logo.jpg"". the logo.jpg file must be located in the following location on the web server: <root folder>/fmi/xsl/logo.jpg"

I have not had the time to test this out yet, but will work on it tommorow.

RaodrunnerRay

I used the cdml converter and got this in xml:

<-img alt="cover" width="134" align="right" hspace="8" vspace="5"><-xsl:attribute name="src"><-xsl:call-template name="get-image"><-xsl:with-param name="fieldname" select="'CoverImage'"/><-xsl:with-param name="recid" select="$default-record/@record-id"/><-/xsl:call-template><-/xsl:attribute><-/img->

(note take out the '-' after each '<')

  • 2 weeks later...

Can someone explain to me what this means:

For example, suppose an XSLT stylesheet references an image file called logo.jpg by using the HTML tag "img src="logo.jpg"". the logo.jpg file must be located in the following location on the web server: /fmi/xsl/logo.jpg"

what defines the root folder? i've tried putting the image files everywhere with no luck.

  • 3 weeks later...

For anyone continuing to have a problem with static images not displaying, be sure that the group permissions for the image file match those of the XSL file and that read/write is specified..........

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.