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.

[Solved] XML / XSL import works in FM11, but in 9 gives 'xmlns:soap' is not declared for element 'FMPXMLRESULT'

Featured Replies

I have an XSLT which I use to import some XML data in SOAP format. Works great in FileMaker 11, but when trying it in FileMaker 9v3 I get the following error:

XML Parsing error: Attribute 'xmlns:soap' is not declared for element 'FMPXMLRESULT'

In the XSLT which works in FM11, I do have an xmlns definition:


<xsl:stylesheet

   version="1.0"

   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

>



 

However, I need this, because if I remove it, then I get a different error:

 

"Unable to resolve prefix 'soap'"  which happens when I count the records as I'm using the soap namespace...

 



 

<DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME=""

RECORDS="{count(soap:Envelope/soap:Body/People/*)}"

 

TIMEFORMAT="h:mm:ss a"/>



 

 

Solved:

turns out that FM9 doesn't like the xmlns which are naturally appended to the FMPXMLRESULT.  FM11 seems to not care.

 

Solution:

 

add

   exclude-result-prefixes="soap"

to your <xsl:stylesheet

node.

 

if you need to exclude more, just put a list in like this:

 

 

   exclude-result-prefixes="a b c"

 

So the final XSLT looks like this:



 

<xsl:stylesheet

   version="1.0"

   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

   exclude-result-prefixes="soap"

>

  • 1 month later...

Yes, when you declare an xmlns for import into FM, you have to exclude it from the result (of the transformation). Filemaker only wants its own xmlns, naturally!!

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.