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.

Accessing a particular node in a child group

Featured Replies

Hi there,

First of all I am very new to XSL/XML. I have been asked to export a set of filemaker data into a formatted Excel sheet. I understood that FMP/XML with XSLT could do that. I had a quick look at the XSL examples which comes with FMP 6. Now I am testing it with the following XML

I have a simple XML (a part cut/pasted from FM's XML export) as follows:

<ROW MODID="0" RECORDID="1">

<col><DATA>aaa</DATA></COL>

<col><DATA>bbb</DATA></COL>

</ROW>

<ROW MODID="0" RECORDID="2">

<col><DATA>ccc</DATA></COL>

<col><DATA>ddd</DATA></COL>

</row>

I want to get the data from the second COL ( or a particular COL) without using XSL's for-each loop on the COL collections. I am insided the for-each on the ROW.

Is there a way to identify a particular column's value using a ID or the field name?

Thanks for your help in advance.

Best regards,

Hameed

I probably don't understand the problem.

And I never touched XML.

Couldn't you do the TAB or merge export?

From Beverly Voth's FileMaker Pro 6 Developers Guide to XML/XSL:

[] Gives the position of the child in a family.

child[1] is the first child.

These square brackets are also used when a test of the value of the element is needed:

parent[child="test"]

  • Author

Dear Fenton,

Your method worked for me. Thank you and all.

Hameed

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.