without really knowing the specs, seems as if you'd want an array within the find_business.generic struct/key.
find_business.generic = arrayNew(1); find_business.generic[1] = "ABC Co."; find_business.generic[2] = "XYZ Co."; ..... etc On Thu, 10 Feb 2005 08:55:04 -0500, Doug James <[EMAIL PROTECTED]> wrote: > Please help, my forehead is very red and painful from banging against the > wall over this one. > > Given this XML snippet: > <find_business generic="2.0" maxRows="10"> > <name>ABC Co.</name> > </find_business> > > This struct accurately represents <find_business> with the "generic" and > "maxRows" attributes. > find_business = structNew(); > find_business.generic = "2.0"; > find_business.maxRows = "10"; > > What I can't figure out is how to get <name> into the structure. If I do > find_business.name = "ABC > Co."; that is making the name an attribute but I need it as an element. > > Any suggestions? > > Doug James > Hollings Cancer Center > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194038 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

