Skip 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.

XML tag filter (loop) problem

Featured Replies

I have the following problem. I use xml to get data from a ISP with TroiURL. Everything works fine, but I try to replace the tags to more simple tags. Like this one:

5

to

5

I have got this working with the calculation (see end) However, it takes only the first available line and not the whole text or other lines.

<?xml version=1.0?>

5

OH3 9YH

Z

G

2097152

G

HSHSH

City

E

Y

G

4096000

1235

Home 512k Classic

adsl

Y

524288

extract ( "

May I ask why are you bothering with this in Filemaker? There are much better tools for this task. Even if you HAVE to do this in Filemaker, you could import the data as is (using a custom sylesheet), then export it to the desired format (using another stylesheet).

  • Author

The data will be saved in filemaker. It is not meant to convert the xml to something else to export. I just need it readable for others. Also I can only send it per https post request, thats the reason why I'm using troiurl otherwise I could use filemaker tools. I already using a simelar function to get data within the tags in a field. However, something like checking ADSL availabilty returning more option or set of data not just one set. Here I just would like to present a readable list.

Yes, I can see why you would want to use a plugin to download the file. What I don't see is why, once you have done that, you don't proceed to import it. If you need a more readable format, you could output it from within Filemaker - same as with any other data.

  • Author

Do you mean when I receive the xml response in a field than export the field content has a xml file and import the xml file back to filemaker with a style sheet?

I just need to think about the procedure, I want to keep it simple for the user.

Yes - except it would probably be better to save the response directly to a local file (if your plugin allows this), instead of going through a Filemaker field. A file exported as field contents is invariable encoded in UTF-16, and this might cause problems with importing. In any case, why don't you try it and see - the entire process can be scripted, so it would be completely transparent to the user.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.