TopicTransformationCoreLoadTemplateFile Method
Load a template file and perform any necessary substitution tag replacements
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static XDocument LoadTemplateFile(
string templateFilePath,
IEnumerable<(string Key, string Value)> replacementTags
)
Public Shared Function LoadTemplateFile (
templateFilePath As String,
replacementTags As IEnumerable(Of (Key As String, Value As String))
) As XDocument
public:
static XDocument^ LoadTemplateFile(
String^ templateFilePath,
IEnumerable<ValueTuple<String^, String^>>^ replacementTags
)
static member LoadTemplateFile :
templateFilePath : string *
replacementTags : IEnumerable<ValueTuple<string, string>> -> XDocument
- templateFilePath String
- The template file to load
- replacementTags IEnumerableValueTupleString, String
- An optional enumerable list of tuples containing the substitution tag
names and replacement values.
XDocumentA copy of the template XML document with the substitution tags replaced with the given text