Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Question in regards to viewing records in XSL


This topic is 7133 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

OK, here's the Skinny.

I have created XSLT files using the Filemaker Site Assistant, no problems editing, there's some tricks, but I have those down now for making them look how I want.

The issue I'm having is thus:

I have a layout in Filemaker. At the top of the record is a header area that contains 4 fields like so:

Job Number, Jobs::Job Name, Jobs::Job Ship Method, Jobs::Job Ship Date. (please note, the Jobs::field name references a related field based on the Job Number itself).

In the Body there are these fields:

Element Number, Element Name, Element Size etc....

in the actual line items from the record area, it has the job name, number etc. However, I do not WANT to see these for each line item (about 15 records in a list) I only want to see them ONCE at the top similar to how I see it in Filemaker.

I have removed these fields from view editing the XSL files. But how do I get a single line item to view? I put the field code back in, and it shows all 15 of them, when I really only want to see 1.

Posted

Select just the first record:

{NOTE: without seeing your XML result, I can't get the exact syntax...}

something like this?

fmrs:record[1]/fmrs:field[@name = 'Job Name']/fmrs:data[1]

Use the "[" & "]" with the number of the row/record, in this case the first one.

This topic is 7133 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.