TopicTransformationCoreLoadTemplateFile Method

Load a template file and perform any necessary substitution tag replacements

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static XDocument LoadTemplateFile(
	string templateFilePath,
	IEnumerable<(string Key, string Value)> replacementTags
)

Parameters

templateFilePath  String
The template file to load
replacementTags  IEnumerableValueTupleString, String
An optional enumerable list of tuples containing the substitution tag names and replacement values.

Return Value

XDocument
A copy of the template XML document with the substitution tags replaced with the given text

See Also