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.

Featured Replies

I am new when it comes to creating a style sheet to be used when importing xml data. I have read through the previous posts and I have changed my code numerous times and I am still not having any luck. I would appreciate any help!

XML Data:

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

-

-

5465182

xxxx

2

$249.62

G5465182

$47.05

$296.67

COLUMBIANA, OH

1-800-333-9974

WILSON, NC

1-800-545-3017

$1,680.50

$1,445.23

$14.35

$70.58

$320.20

$94.11

$343.73

900

1700

Style Sheet:

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

0

Edited by Guest

Not sure exactly what problems you are experiencing, but they are most likely caused by line #2 of your XML Data:

To begin with, the text "- " is not contained by any element, and it will cause an error.

If you remove this text, the element will be "wrapping" the rest of the data - so you need to change your for-each selection to:

  • Author

The source of the xml data does not have the "-" I just copied that content from the web viewer within File Maker. If I open my style sheet within a XML writer and if I check the style sheet if it is well formed I get an invalid syntax error for line 2 of the style sheet.

When I'm in File Maker and I try to import the xml data from the url I get an Error that says... XML parsing Error: Expected a 'version=', encoding=', or 'standalone=' Line Number:2 Column Number:16

Can you attach a zipped version of both text files? There are limits to what this forum can show. If your source is served, open it in a web browser and save it as text.

The xml declaration must end with "?>". I am not sure if this is a transmission problem (I suggested zipping the files), but once I fixed that, it worked.

stylesheet.xsl.zip

  • Author

Thanks that was the problem.

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.