HttpPath Element (View)

Last modified: March 09, 2015

Applies to: SharePoint Foundation 2010

Returns the path to the appropriate OWSSVR.DLL file.

  ForInstance = "TRUE" | "FALSE"
  HTMLEncode = "TRUE" | "FALSE"
  ServerRel = "TRUE" | "FALSE"
  URLEncodeAsURL = "TRUE" | "FALSE">




Optional Boolean.


Optional Boolean. TRUE to convert embedded characters so that they are displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities.


Optional Boolean. TRUE to specify that the URL is relative instead of absolute.


Optional Boolean. Like URLEncode, but TRUE to specify that the string to encode is a path component of a URL so that forward slashes ("/") are not encoded.

Minimum: 0

Maximum: Unbounded

By default, this element appends CS=XXX, where XXX is the Microsoft Office SharePoint Designer 2007 character set (for example, 109 = UTF-8) of the page that contains the element. This allows the form handler to properly interpret data coming from the browser, which is encoded by using the character set and the encoding of the page that contains the form. <HttpPath/> returns http://Server_Name/_vti_bin/owssvr.dll?CS=109.

Prevent the character set from being represented by setting the CS attribute to FALSE. For example, <HttpPath CS="FALSE"/> returns http://Server_Name/_vti_bin/owssvr.dll.