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

imports blank records using xml file


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

Recommended Posts

Posted

Hello,

I'm taking baby steps learning to import a xml data file and a xslt style sheet. I've followed the examples provided with FileMaker and read http://www.goya.com.au/node/105, I am getting close, but I have yet to see data in FileMaker...

I don't get error messages, the import recognises the stylesheet, I can match the fields, the correct number of records gets created but they are empty... I am hoping it is something obvious (or an error a newbie would likely make)

Any pointers?

Posted

Very simple mistake. You are wanting to target "elements", ie., , but you were using the '@' syntax, which is used to target an "attribute". Just remove the @ symbols and it will work.

Also, the count is: "{count (/main/org/people/person)}"

That doesn't matter however, as FileMaker ignores that info when it Imports (thankfully).

P.S. If you did want to target an attribute, such as: type="integer", then @type is correct. But there are no useful attributes in your xml.

Posted

Thanks Fenton, I am sure I will encounter more hurdles but I appreciate your help in getting me started!

This topic is 5746 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.