API

new ( prefix, expanded )

Create a new namespace node, expanded is the expanded namespace \s-1URI\s0.

getPrefix

Returns the prefix

getExpanded

Returns the expanded \s-1URI\s0

toString

Returns a string that you can add to the list of attributes of an element: xmlns:prefix=\*(L"expanded\*(R"