I thought your other post looked like what I was trying but I wasn't getting the results I expected with any of the getObject* methods.. It turns out I think I was getting fooled by a toString() method. My problem was this: #set($hql = ", BaseObject as obj where obj.name = doc.fullName and obj.className = '${doc.space}.TopicsClass'") #set($results = $xwiki.searchDocuments($hql)) $results.get(0) ##This outputs FranchiseTax.TopicsClass as does: $xwiki.getDocument($results.get(0)) ## Also outputs FranchiseTax.TopicsClass but this one is actually a Document object. I was expecting an object Hash or something other than the same result as the previous line. With the document I was able to: $xwiki.getDocument($results.get(0)).getObjects($results.get(0)).size() Thanks for the help!! .:. Kevin -- View this message in context: http://n2.nabble.com/Get-class-from-space-and-retrieve-list-of-attached-obje... Sent from the XWiki- Users mailing list archive at Nabble.com.