What object is "root"? Is it a company instance? If so, this should work:

root.get("departments/employees");

If it's not, then maybe you need something like this:

root.get("company/departments/employees"); 

How did you load the instances?

Frank.


"Murtaza Goga" <[EMAIL PROTECTED]> wrote on 03/23/2007 01:26:48 
PM:

> Are wildcards supported in the XPath implementation within Tuscany to
> group collections.  For instance in the company example in the spec I
> would like to get a list of all the employees in the company.
> 
> Tried the following in vain:
> 
> 
> 
> root.get("/*/employees")
> 
> root.get("//employees") 
> 
> root.get("/departments/employees") 
> 
> 
> 
> Thanks,
> 
> Murtaza.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to