Robert,
Lightning got my DSL modem at home so I couldn't respond to you last night. But your snippet was just what the doctor ordered. I tested it this morning and it works great. I need to do some research on XPath as I don't understand your xpath elements, but I figured it out enough to get it to work for my app. Thanks. Steve _____ From: Robert Garcia [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 7:29 PM To: [email protected] Subject: Re: Witango-Talk: XPointer - 2 dimensional Array Did that help? I just realized I don't use xpointer, but xpath, I don't use xpointer. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://bighead.net <http://bighead.net> / - http://eventpix.com <http://eventpix.com> / On May 22, 2007, at 2:44 PM, Robert Garcia wrote: Check my tools site, www.bighead.net/tools <http://www.bighead.net/tools> . There is a pdf about efficient webservices. Search for domtoarray. Something like that. I go over methods for efficiently turning doms into arrays. Its been a while since I was doing that, but I think it fits your situation. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://bighead.net <http://bighead.net> / - http://eventpix.com <http://eventpix.com> / On May 22, 2007, at 2:23 PM, Fogelson, Steve wrote: Is there a way to get a 2 dimensional array with XPointer with the following DOM <@assign request$ScopeDom value="<@dom value=' <webapp> <site domain="xxxcom"> <scope_name>scope1</scope_name> <dsn_name>Cat1</dsn_name> <dsn_user>user1</dsn_user> <dsn_password>password1</dsn_password> </site> <site domain="yyycom"> <scope_name>scope2</scope_name> <dsn_name>Cat2</dsn_name> <dsn_user>user2</dsn_user> <dsn_password>password2</dsn_password> </site> </webapp>'>"> I get a one dimensional array with the following. I have tried other combinations with no success. <@elementvalue object='request$ScopeDom' element='root().child(all).child(all)'> Thanks Steve Fogelson Internet Commerce Solutions ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf <http://www.witango.com/developer/maillist.taf> ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf <http://www.witango.com/developer/maillist.taf> ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
