HttpPath Element (View)

Applies to: SharePoint Foundation 2010

Returns the path to the appropriate OWSSVR.DLL file.

<HttpPath
  ForInstance = "TRUE" | "FALSE"
  HTMLEncode = "TRUE" | "FALSE"
  ServerRel = "TRUE" | "FALSE"
  URLEncodeAsURL = "TRUE" | "FALSE">
</HttpPath>

Attributes

Attribute

Description

ForInstance

Optional Boolean.

HTMLEncode

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.

ServerRel

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

URLEncodeAsURL

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.

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

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 https://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 https://Server_Name/_vti_bin/owssvr.dll.

See Also

Reference

HTMLBase Element