xsh:new-element

Usage

node-set xsh:new-element(string NAME,[string ATTR1-NAME1, string ATTR-VALUE1, ...])

Description

Create a new element node with given NAME and optionally attributes with given names and values and return a node-set containing the new node as its only member.