Skip to main content
XmlWebPart Class

Displays XML transformed on the server using XSL. The Web Part stores the content in a property or links to a source file.

Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
<SupportsAttributeMarkupAttribute(False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class XmlWebPart _
	Inherits WebPart
Dim instance As XmlWebPart
[SupportsAttributeMarkupAttribute(false)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class XmlWebPart : WebPart
Remarks

This Web Part is used to represent existing structured data as XML and transform it using XSL on the server. It also displays content that can be edited by users with the appropriate permissions.

Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.