John, Thanks for the response.

I would like an array like the following:

xxxcom  yyycom
scope1  scope2
Cat1            Cat2
user1           user2
password1       password2

or

xxxcom  scope1  Cat1    user1   password1       
yyycom  scope2  Cat2    user2   password2

-----Original Message-----
From: John McGowan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 22, 2007 4:27 PM
To: [email protected]
Subject: Re: Witango-Talk: XPointer - 2 dimensional Array

What do you want your other dimension to be?

Assuming what you're getting right now is an array of elementvalues
(since that's the tag that you're using)  I guessing that you want to
also get the element names?  If so, you're out of luck, because there
is no witango tag that will return what you're looking for.

You're going to need to use a combination of Dom tags to build the
array yourself...

/John

On 5/22/07, Fogelson, Steve <[EMAIL PROTECTED]> 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
>
>


-- 
John McGowan
Seven A C Consulting, Inc.
________________________________________________________________________
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