FPHTMLXSLElement Object


Represents an Extensible Stylesheet Language (XSL) element for an XSL Data View Web Part. See also the IHTMLXSLElement object.
This object is supported only by Web pages or sites that are based on Microsoft Windows SharePoint Services.
Using the FPHTMLXSLElement Object
Use the all property for the FPHTMLXSLWebPartElement object to return an IHTMLElementCollection collection that represents a collection of all the elements for an XSL Data View Web Part. Then use the tags method to return an IHTMLElementCollection collection that represents all of the XSL elements of the specified type (for example, "xsl-template", "xsl-outside-if", "xsl-value-of", etc.) in a Data View Web Part. The following example returns the first xsl:template element in the first Web Part in the active document. This example assumes that the first Web Part in the active document is a Data View Web Part.
Dim objWebPart As FPHTMLXSLWebPartElement
Dim objXSLElement As FPHTMLXSLElement
Set objWebPart = ActiveDocument.WebParts.Item(0)
Set objXSLElement = objWebPart.all.tags(“xsl-template”).Item(0)