chrisnta Posted March 31, 2009 Posted March 31, 2009 I have the following problem. I use xml to get data from a ISP with TroiURL. Everything works fine, but I try to replace the tags to more simple tags. Like this one: 5 to 5 I have got this working with the calculation (see end) However, it takes only the first available line and not the whole text or other lines. <?xml version=1.0?> 5 OH3 9YH Z G 2097152 G HSHSH City E Y G 4096000 1235 Home 512k Classic adsl Y 524288 extract ( "
comment Posted March 31, 2009 Posted March 31, 2009 May I ask why are you bothering with this in Filemaker? There are much better tools for this task. Even if you HAVE to do this in Filemaker, you could import the data as is (using a custom sylesheet), then export it to the desired format (using another stylesheet).
chrisnta Posted March 31, 2009 Author Posted March 31, 2009 The data will be saved in filemaker. It is not meant to convert the xml to something else to export. I just need it readable for others. Also I can only send it per https post request, thats the reason why I'm using troiurl otherwise I could use filemaker tools. I already using a simelar function to get data within the tags in a field. However, something like checking ADSL availabilty returning more option or set of data not just one set. Here I just would like to present a readable list.
comment Posted March 31, 2009 Posted March 31, 2009 Yes, I can see why you would want to use a plugin to download the file. What I don't see is why, once you have done that, you don't proceed to import it. If you need a more readable format, you could output it from within Filemaker - same as with any other data.
chrisnta Posted April 1, 2009 Author Posted April 1, 2009 Do you mean when I receive the xml response in a field than export the field content has a xml file and import the xml file back to filemaker with a style sheet? I just need to think about the procedure, I want to keep it simple for the user.
comment Posted April 1, 2009 Posted April 1, 2009 Yes - except it would probably be better to save the response directly to a local file (if your plugin allows this), instead of going through a Filemaker field. A file exported as field contents is invariable encoded in UTF-16, and this might cause problems with importing. In any case, why don't you try it and see - the entire process can be scripted, so it would be completely transparent to the user.
Recommended Posts
This topic is 5716 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