As we all know, webresources utility is one of the very good features of CRM 2011.
Its very simple syntax. For Instance,
Imagine that you have uploaded a webresource called new_ConfigureAttributes.xml
var xmlPath = "../WebResources/new_ConfigureAttributes.xml";
For a detailed sample, you could have look at the following post.
How to refer a webresource file from Sitemap or Customizations.xml