TopicTransformationCore.LoadTemplateFile Method
Definition
- Assembly
- Sandcastle.Core.dll
Load a template file and perform any necessary substitution tag replacements
public static XDocument LoadTemplateFile(string templateFilePath, IEnumerable<(string Key, string Value)> replacementTags)
Parameters
templateFilePathstringThe template file to load
replacementTagsIEnumerable<(string Key, string Value)>An optional enumerable list of tuples containing the substitution tag names and replacement values.
Returns
- XDocument
A copy of the template XML document with the substitution tags replaced with the given text