public static string AbsolutePathForType(this PathEntryCollection collection, string systemId, string type) { var path = collection.EntryWithFallback(type, systemId).Path; return(collection.AbsolutePathFor(path, systemId)); }