I need to get documents of a particular library using SOQL.
SELECT title FROM ContentVersion where Contendocument.Parent.Contentworkspace.name='EMEA Sales'
The error i get is INVALID_FIELD: on Contendocument.Parent.Contentworkspace.name
The ERD model for content objects can be viewed here http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_content.htm