|
XmlExtensionsApplyXSLTransform Method
|
Transforms an XML document using the given XSL template.
Namespace: GSF.XmlAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntaxpublic static string ApplyXSLTransform(
this string document,
string transform
)
<ExtensionAttribute>
Public Shared Function ApplyXSLTransform (
document As String,
transform As String
) As String
public:
[ExtensionAttribute]
static String^ ApplyXSLTransform(
String^ document,
String^ transform
)
[<ExtensionAttribute>]
static member ApplyXSLTransform :
document : string *
transform : string -> string
GSF.Xml.XmlExtensions.ApplyXSLTransform = function(document, transform);
View SourceParameters
- document String
- The document to be transformed.
- transform String
- The template that defines how the data should be transformed.
Return Value
StringThe result of the transformation.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also