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

Is there a way to convert XML to URL in a FM database? We generate an XML from a custom XSL in FM and then we want to convert that XML into URL. Is that possible? Is there a way to convert directly to URL without going through the XML steps? I'm new to this so any help would be great, thanks.

Say what?? Could you give an example, in detail. Because the question, though it sounds like it might make sense in specific circumstances, is incomprehensible to me. If you want to construct a (GET) URL from data in FileMaker, why not just create it in a calculation in FM? Why is xml/xsl involved?

  • Author

Exactly!!

Maybe I can clarify a little, since you've been there since the beginning. All of the XML generation was apparently fornot because when it came down to transmitting the XML to the customer, they gave us a URL to send it to and their version of the query string. Needless to say we were blindsided when this cane out.

Now we are in the process of generating what you said, a calculation field to simply gerenate the URL from the FM database.

So, you are submitting a URL request in order to get the XML? This is pretty normal. It comes to much the same thing. You use the same XSL stylesheet to convert the returned XML to FM XML. You never see the xml, but it's there (somewhere).

You put your URL together in a FM calc, then specify it in the XML Import dialog as the path, via the "calculation" option. One difference is that FM wants the xsl to be on the web, or on a remote server, if the xml path is a URL. A local xsl file will give you an error; at least that's my experience.

  • Author

The oppposite, we are generating XML to be submitted via URL. Once the XML is gerenated, we convert it to URL to send out.

I do a similar thing where the xml links to a .asp database at a particular url and parses its contents to the .asp database, if this is what you need export as xml but set the save file type to .html/.htm then have filemaker open the file, information is then parsed, job done.

Is this what you mean?

  • Author

Not exactly...

We had created XML from data gathered in an FM database, that we would then try to convert and send to a URL. That was all for not because, like Fenton suggested, you don't need to create XML to do that, just create the URL directly in a calculation field.

  • 3 weeks later...

What exactly are you trying to send via the web?

An xml file it self?

or

Information contained within the xml?

If you could explain the scenario better it would be easier to help.

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.