|
Dan, I’m not real good at this, but I
will take a stab at it. I tested this and I think it gives you
what you are looking for. <@ASSIGN request$Total_Array value=<@ARRAY rows=10 cols=2>> <@FOR start=1 stop=10> <@ASSIGN request$Total_Array[<@CURROW>,1] <@ELEMENTVALUE object='request$resultSet' element='root().child(1).child(1,Service,ID,<@calc "<@CURROW>-1">).child(5)'>> <@ASSIGN request$Total_Array[<@CURROW>,2] <@ELEMENTVALUE object='request$resultSet' element='root().child(1).child(1,Service,ID,<@calc "<@CURROW>-1">).child(7)'>> </@FOR> Internet Commerce Solutions From: Dan Stein
[mailto:[EMAIL PROTECTED] Sorry here is the attachment This attached is the XML returned from USPS after I send a
rate request. I just need one of two things
I think all I have messed up is the child declarations I am trying <@ASSIGN request$Total_Array value=<@ARRAY rows=10 cols=1>> <@FOR start=1 stop=10>
<@ASSIGN request$Total_Array[<@CURROW>,1] <@ELEMENTVALUE object=request$result element=root().child(1).child(2).child(<@CALC <@CURROW>>).Child(5) type=text>>
</@FOR> Boy is this easier in FileMaker I just need the element name
Postage and the occurrence to get the value. Anyway any help would be much appreciated. ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Witango-Talk: Need help with XML parsing probably simple Dan Stein
- Re: Witango-Talk: Need help with XML parsing probably... Ben Johansen
- Re: Witango-Talk: Need help with XML parsing prob... Ben Johansen
- Witango-Talk: Need help with XML parsing probably sim... Dan Stein
- Re: Witango-Talk: Need help with XML parsing prob... Robert Garcia
- Re: Witango-Talk: Need help with XML parsing ... Dan Stein
- Re: Witango-Talk: Need help with XML pars... Robert Garcia
- Re: Witango-Talk: Need help with XML pars... Robert Garcia
- Re: Witango-Talk: Need help with XML parsing prob... Beverly Voth
- RE: Witango-Talk: Need help with XML parsing probably... Fogelson, Steve
