Gets the namespaces and their URIs and URLs from a document.
Resolve-XmlSchemaLocation.ps1 [-Xml] <XmlDocument> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Resolve-XmlSchemaLocation.ps1 [-Path] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Resolve-XmlSchemaLocation.ps1 test.xml
Path : C:\test.xml Node : root Alias : xml Urn : http://www.w3.org/XML/1998/namespace Url :
Path : C:\test.xml Node : root Alias : xsi Urn : http://www.w3.org/2001/XMLSchema-instance Url :
The string to check.
Type: XmlDocument
Parameter Sets: Xml
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
A file to check.
Type: String
Parameter Sets: Path
Aliases: FullName
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.