Newbies klausfilip Posted May 22, 2015 Newbies Posted May 22, 2015 i want to import into filemaker from a text file which is a result of a http request. (in filemaker 11!) actually, what i get back from the http-request in a browser is a simpleOK 1204888105now, if i do this via filemakers script step “Import Records” and XML Datato be able to write a http request, i get the obvious error:XML parsing error: invalid document structure Line Number: 1Column Number: 1 so i was wondering, if there is a possibility to write a XSL style sheet, that can help megrabbing this text into a record. a style sheet, that presents this short text to filemaker as XML data ? thanks for any thoughts ! klaus
Kevin Mullins Posted May 22, 2015 Posted May 22, 2015 I am not completely sure what you are trying to do, but if the result is just the text you show here then it isn't in XML notation and I don't think a style sheet would help. If it is an html page then insert from URL is what I would suggest but it looks like you are on FM11. If this is a response to an API call of some sort I think your best bet would be the Baseelements free plugin. (http://www.goya.com.au/baseelements/plugin) Then maybe you could use the BE_HTTP_POST ( url; parameters {; username ; password } ), to request the page and then the results come back and you can capture those to a field or variable. Set Variable[ $result; BE_HTTP_POST ( url ; parameters {; username ; password } )]
Newbies klausfilip Posted May 22, 2015 Author Newbies Posted May 22, 2015 thanks kevin, this was a quick and very helpful reply. the BE plugin works very fine for my use! cheers!
Recommended Posts
This topic is 3746 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