final ResourceKey baseKey =
DocumentContextUtility.getBaseResource(process.getDocumentContext());
final ResourceManager resourceManager =
DocumentContextUtility.getResourceManager(process.getDocumentContext());
final URL url = resourceManager.toURL(baseKey);
if (url != null)
{
return new StaticTextToken(url.toExternalForm());
}
return null;