ePublisher Platform XSLT Extensions
 
string GetBaseName (string path)
 
Gets the base name of any path. It handles as separators: '\' and '/'. If the path ends with a separator or it's an empty string then it returns an empty string.
Parameters:
path
The relative or absolute path.
Returns:
A base name string.