NAME

Jabber::NS - Jabber namespaces

SYNOPSIS

use Jabber::NS qw(<some tag>);
print NS_AUTH;  

DESCRIPTION

Jabber::NS is simply a load of constants that reflect Jabber namespace constants (and other things). These can be imported into your program with the use statement. These namespace constants are based on those specified in the lib/lib.h file in the Jabber server source.

By default, nothing is imported - specify one or more tags or individual constants in the use statement as shown in the SYNOPSIS.

TAGs

The tags are:

stream

Stream namespaces, such as jabber:client.

iq

IQ namespaces, such as jabber:iq:auth.

x

X namespaces, such as jabber:x:oob.

misc

Miscellaneous namespaces, such as the w3c one for XHTML.

flags

Various flags, such as r_HANDLED, used by Jabber::Connection.

all

You can use this to bring in all the namespaces that this module offers.

Don't forget to prefix these tag names with a colon, e.g.:

use Jabber::NS qw(:iq :x);

SEE ALSO

Jabber::NodeFactory, Jabber::Connection

AUTHOR

DJ Adams

VERSION

early

COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.