New Message: Getting a value from an XML table

webmaster at userland.com webmaster at userland.com
Wed Oct 17 12:58:57 PDT 2001


A new message was posted:

Address: http://frontier.userland.com/discuss/msgReader$8974

By: Kevin Drennan (kevin at santafe.edu)

Hi,

I'm trying to get a value from a table that was built from an xml document returned by Filemaker.

The code:

recordid = xml.getvalue (xml.getAddress (adrrow, ["/atts"]), "RECORDID")

returns the error:

Can't evaluate the expression because the name "/atts" hasn't been defined.

adrrow is a variable that contains the address of the parent table of /atts.

I know that the /atts table is there and that it contains the RECORDID string with the value I'm after. Am I referring to this table correctly with ["/atts"]? One thing I did notice is that /atts and its children aren't prefixed with the hidden number and tab character that the other tables are.

What am I missing here? Any help would be appreciated.

Thanks,

Kevin

This is a Manila site.. http://manila.userland.com/.





More information about the Frontier-Server mailing list