Export (0) Print
Expand All

HttpPath Element (View)

Last modified: May 30, 2008

Applies to: SharePoint Foundation 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Returns the path to the appropriate OWSSVR.DLL file.


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

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.

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.

Show:
© 2015 Microsoft