Product Documentation

ns xmlnamespace

Sep 12, 2016

The following operations can be performed on "ns xmlnamespace":

add | rm | set | unset | show

add ns xmlnamespace

Adds a mapping between an XML prefix and a namespace URI (Uniform Resource Identifier).

Synopsys

add ns xmlnamespace <prefix> <namespace> [-description <string>]

Arguments

prefix

XML prefix.

namespace

Expanded namespace for which the XML prefix is provided.

description

Description for the prefix.

Example

add ns xmlnamespace soap http://schemas.xmlsoap.org/soap/envelope/

rm ns xmlnamespace

Removes the mapping between an XML prefix and a namespace URI.

Synopsys

rm ns xmlnamespace <prefix>

Arguments

prefix

XML prefix for which the mapping must be removed.

Example

rm ns xmlnamespace soap

set ns xmlnamespace

Modifies the mapping between an XML prefix and a namespace URI.

Synopsys

set ns xmlnamespace <prefix> [<namespace>] [-description <string>]

Arguments

prefix

XML prefix for which the namespace or description must be added or updated.

namespace

Expanded namespace for which the XML prefix is provided.

description

Description for the prefix.

Example

set ns xmlnamespace soap -description SOAP/1.1

unset ns xmlnamespace

Use this command to remove ns xmlnamespace settings.Refer to the set ns xmlnamespace command for meanings of the arguments.

Synopsys

unset ns xmlnamespace <prefix> [-namespace] [-description]

show ns xmlnamespace

Displays the mappings between XML prefixes to namespace URIs.

Synopsys

show ns xmlnamespace [<prefix>]

Arguments

prefix

Name of the prefix for which the mappings must be displayed.

Outputs

namespace

Expanded namespace for which the XML prefix is provided.

description

Description for the prefix.

devno

count

stateflag

Example

show ns xmlnamespace soap