Command declare


Name

declare Declares or describes namespaces, variables and functions

Synopsis

declare
declare -p varname
declare namespace [prefix=[uri]]


The declare command is used to add global declarations to the shell. Currently the declare namespaces is the only declaration.
Future may include serialization

If uri is omitted then the namespace is undeclared

If the -p option is specified then the argument is used as a variable name and its type information is printed as in the set command.



Examples

Example
declare namespace xmlsh=http://www.xmlsh.org/namespaces/xmlsh
declare namespace

Result
xmlsh=http://www.xmlsh.org/namespaces/xmlsh


Commands
CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki