I deploy my silverlight .xap file to a document library.I'd like to add the silverlight using the object control,like below
param name="source" value="{SiteUrl}/SLDocLib/HelloWorldSilverlightApplication.xap"
but the SharePoint token {SiteUrl} doesn render as the current web url,I change the {SiteUrl} to ~site,it deos not render to the current site url as well, can anyone shine some light on this?