UrlBaseName Element
The UrlBaseName element renders the base name of a particular URL.
Syntax
<UrlBaseName
HTMLEncode = "TRUE" | "FALSE">
</UrlBaseName>
Attributes
Name | Description |
---|---|
HTMLEncode | Optional Boolean. Converts embedded characters so that they are displayed as text in the browser. Characters that could be confused with HTML tags are converted to entities. |
Related Elements
Parent Elements | Child Elements |
---|---|
DisplayPattern, RenderPattern | LookupColumn |
Remarks
This element is particularly handy in document library views.
Remember that CAML is case sensitive; note the lowercase "rl" in UrlBaseName.
Example
The following example,
<ows:UrlBaseName>http://www.server.com/subweb/subdir/filename.ext</ows:UrlBaseName>
renders "filename".