Builds an object using the named XPath selections as properties.
Merge-XmlSelections.ps1 [-XPaths] <IDictionary> [-Xml] <XmlNode[]> [-Namespace <Hashtable>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Merge-XmlSelections.ps1 [-XPaths] <IDictionary> [-Path] <String[]> [-Namespace <Hashtable>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Merge-XmlSelections.ps1 @{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: False
The 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: False
XML 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: False
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $PSDefaultParameterValues['Select-Xml:Namespace']
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.