@jws:xmlns Tag

Defines an XML namespace prefix for use elsewhere in a JWS file or Service control CTRL file.

# Syntax

    @jws:xmlns
    	prefix="namespacePrefix"]
    	namespace="namespaceURI"

# Attributes

prefix

Required. Specifies the XML namespace prefix being defined.

namespace

Required. Specifies the URI that the prefix represents.

# Remarks

The following rules apply to this tag's use:

- Multiple @jws:xmlns tags may appear within a single Javadoc comment block.

- May appear on the main class declaration in a JWS file or the main interface declaration in a CTRL file..

The following XML namespace prefixes are implicitly defined in WebLogic Workshop:

- xm, with namespace URI "http://www.bea.com/2002/04/xmlmap/"

- xsd, with namespace URI "http://www.w3.org/2001/XMLSchema"

The xm prefix is used in XML map tags such as <xm:value> and <xm:multiple>.

If the xm or xsd prefixes are explicitly defined in a JWS or CTRL file, the implicit definitions described above are overridden for that file.

To learn about XML namespaces and prefixes, see Introduction to XML.

Related Topics

Introduction to XML