Check my tools site, 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] - [EMAIL PROTECTED]
http://bighead.net/ - 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



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to