Class XContainerExtensions
Static class containing XContainer extension methods to assist with Tableau XML format's Feature Forked Subtree (FFS) mangling.
Namespace: Tableau.Migration.Content.Files.Xml
Assembly: Tableau.Migration.dll
Syntax
public static class XContainerExtensions
Methods
GetFeatureFlaggedDescendants(XContainer, XName)
Gets descendant elements at all levels that match (without FFS mangling considered) a given name.
Declaration
public static IEnumerable<XElement> GetFeatureFlaggedDescendants(this XContainer container, XName unmangledName)
Parameters
Type | Name | Description |
---|---|---|
XContainer | container | The container to get descendant elements for. |
XName | unmangledName | The unmangled/non-FFS name to search for. |
Returns
Type | Description |
---|---|
IEnumerable<XElement> | The descendant elements with the given name. |