Jump to content

XML different in v5 & v5.5


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

Recommended Posts

Just spent a lot of time trying to track down errors in my application when working with v5 & v5.5

It seems that v5 & v5.5 return different XML - what a pain in the arse.

mad.gif" border="0

I am using the following code snippet in my ASP pages:

xmldoc.load(*fmpro search query string here*)

set rows = xmldoc.getElementsByTagName("ROW")

set columns = rows.item(i).getElementsByTagName("DATA")

'for version 5

dbid = columns.item(2).text

dbName = columns.item(0).text

'for version 5.5

dbid = columns.item(10).text

dbName = columns.item(2).text

obviously this is a problem when running it on 2 different versions of FM Pro using the same Table.

Does anyone know of a workaround ???? frown.gif" border="0

Regards

Neil.

Link to comment
Share on other sites

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