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.

Import all elements by XSL

Featured Replies

  • Newbies

Hello everyone,

 

I have a problem I couldn't solve despite extensive searching...

 

This is a part from an XML.   

 

<contributors>

<authors>

<author>Willett, C G</author>

<author>Tepper, J E</author>

<author>Kaufman, D S</author>

<author>Shellito, P C</author>

<author>Eliseo, R</author>

<author>Convery, K</author>

<author>Wood, W C</author>

</authors>

</contributors>

 

I tried to import all authors into a Filemaker cell by using this xsl (excerpt) 

 

 

<FIELD EMPTYOK="YES" MAXREPEAT="15" NAME="Author" TYPE="TEXT"/>

 

    <COL>
<DATA>
<xsl:for-each select="contributors/authors">
<xsl:value-of select="author">
</xsl:value-of>
</xsl:for-each>
</DATA>
</COL>

 

 

Unfortunately only the first name is imported. Why? What's missing? 

 

Would be glad if someone could help me...

 

Cheers

 

 

 

 

 

Hi,
 
you need to select the author element for the for-each statement. For the import you select the author contents via "."
XPATH works as the same implies via the path to the information, it's not a script language.
 
This way it will work:
<xsl:for-each select="contributors/authors/author">
<xsl:value-of select=".">
 
Cheers,
Alexander

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.