Newbies j_mccard Posted February 27, 2008 Newbies Posted February 27, 2008 I have a FilemakerPro database with many records that I need to send as an XML file to the EPA. I can export as an .xml but I need to add headings and structure the file in a nested format. Is it possible to create this type of file with filemaker? If so, any tips on getting started?
Fenton Posted February 27, 2008 Posted February 27, 2008 Yes. If you use an XSL stylesheet (which you really must), you can arrange it how you want, and add what you want. You really need to export the xml from FileMaker without a stylesheet first, and see what you got. In particular pay attention to the result of exporting related fields, such as those in a portal. It is in a different, though logical order. Then you need to look at what the resulting xml should look like. Hopefully you have an example of that. Then it's just a matter of creating an xsl that transform FileMaker's xml to the desired xml. Not so simple, but doable. The "headings", if they're just fixed text, can just be added in a element. If you require data from FileMaker fields in the heading, you'd use the [1] specifier to only get data from the first record . There's likely examples here in the xml forum that would be similar to what you need, but not exactly the same. The "X" in XML is for "extensible".
Recommended Posts
This topic is 6114 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 accountSign in
Already have an account? Sign in here.
Sign In Now