Jump to content
Server Maintenance This Week. ×

import text via http (style sheet ?)


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

Recommended Posts

  • Newbies

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 simple
OK 1204888105
now, if i do this via filemakers script step “Import Records” and XML Data
to be able to write a http request, i get the obvious error:
XML parsing error:

invalid document structure

Line Number: 1
Column Number: 1

so i was wondering, if there is a possibility to write a XSL style sheet, that can help me
grabbing this text into a record.

a style sheet, that presents this short text to filemaker as XML data ?

thanks for any thoughts !

klaus

Link to comment
Share on other sites

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 } )]

Link to comment
Share on other sites

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