Repository navigation
Merge XmlSelections
github-actions edited this page Jun 3, 2026
·
1 revision
external help file: XMLLab-help.xml Module Name: XMLLab online version: https://github.com/brianary/Detextive/ schema: 2.0.0
Builds an object using the named XPath selections as properties.
Merge-XmlSelections [-XPaths] <IDictionary> [-Xml] <XmlNode[]> [-Namespace <Hashtable>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Merge-XmlSelections [-XPaths] <IDictionary> [-Path] <String[]> [-Namespace <Hashtable>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Merge-XmlSelections @{Version='/*/@version';Format='/xsl:output/@method'} *.xsl* -Namespace @{xsl='http://www.w3.org/1999/XSL/Transform'}
Path Version Format
Z:\Scripts\dataref.xslt 2.0 html Z:\Scripts\xhtml2fo.xsl 1.0 xml
Any dictionary or hashtable of property name to XPath to select a value with.
Type: IDictionary
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe XML to select the property values from.
Type: XmlNode[]
Parameter Sets: Xml
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: FalseXML file(s) to select the property values from.
Type: String[]
Parameter Sets: Path
Aliases: FullName
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseXML namespaces to use in the XPath expressions.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $PSDefaultParameterValues['Select-Xml:Namespace']
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.