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.

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


<SupportsAttributeMarkupAttribute(False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class XmlWebPart _
    Inherits WebPart
Dim instance As XmlWebPart
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class XmlWebPart : WebPart


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.

See Also


XmlWebPart Members

Microsoft.SharePoint.WebPartPages Namespace