mf Posted February 28, 2009 Posted February 28, 2009 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?
comment Posted February 28, 2009 Posted February 28, 2009 I don't think it's possible to make a useful suggestion without seeing your source data and your stylesheet.
mf Posted February 28, 2009 Author Posted February 28, 2009 (edited) Here: I had to modify the files to remove data I did not want to "share"... hopefully once I can get some data imported I will be able apply to the more complex structure... Thanks! test_data.zip test_Converted.zip Edited February 28, 2009 by Guest
Fenton Posted February 28, 2009 Posted February 28, 2009 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.
mf Posted March 1, 2009 Author Posted March 1, 2009 Thanks Fenton, I am sure I will encounter more hurdles but I appreciate your help in getting me started!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now