May 11, 200520 yr 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.
May 12, 200520 yr 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.
Create an account or sign in to comment