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.

FMP6 has crashed when xml imports from httprequest

Featured Replies

  • Newbies

I use FMP6v4 on MacOS10.3.4

I imported xml from http request but FMP has surely crashed and quit by the second import.

The 1st import is successful after starting FMP,But if it becomes the 2nd time, FMP will crash.

The same thing occurs also in FMP7 trial version. But this problem was not generated in OS9.

Is this problem nonavoidable?

I am sorry that it is poor English.

xml URL

http://xml.amazon.com/onca/xml3?t=webser...arch=0804738696

xslt

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="xsi">

<xsl:template match="/">

<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">

<ERRORCODE>0</ERRORCODE>

<PRODUCT BUILD="" NAME="" VERSION=""/>

<DATABASE DATEFORMAT="yyyy.M.d" LAYOUT="" NAME="" RECORDS="{count(/*/*)}" TIMEFORMAT="h:mm:ss a"/>

<METADATA>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ProductName" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Authors" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Manufacturer" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ReleaseDate" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Asin" TYPE="TEXT"/>

</METADATA>

<RESULTSET>

<xsl:attribute name="FOUND">1</xsl:attribute>

<xsl:for-each select="/ProductInfo/Details">

<ROW>

<xsl:attribute name="MODID">0</xsl:attribute>

<xsl:attribute name="RECORDID"><xsl:value-of select="position()"/></xsl:attribute>

<COL>

<DATA>

<xsl:value-of select="ProductName"/>

</DATA>

</COL>

<COL>

<DATA>

<xsl:for-each select="Authors/Author">

<xsl:value-of select="."/>

<xsl:if test="position() != last()">

<xsl:text>, </xsl:text>

</xsl:if>

</xsl:for-each>

</DATA>

</COL>

<COL>

<DATA>

<xsl:value-of select="Manufacturer"/>

</DATA>

</COL>

<COL>

<DATA>

<xsl:value-of select="ReleaseDate"/>

</DATA>

</COL>

<COL>

<DATA>

<xsl:value-of select="Asin"/>

</DATA>

</COL>

</ROW>

</xsl:for-each>

</RESULTSET>

</FMPXMLRESULT>

</xsl:template>

</xsl:stylesheet>

[color:"blue"]

  • 6 months later...
  • Newbies

Did you ever figure out what was causing this crash? we have experienced this on several machines, both Mac and PC.

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.