public Sequence eval( Sequence[] args, Sequence contextSequence ) throws XPathException
{
List <InetSocketAddress> ialist = new ArrayList <InetSocketAddress>();
SequenceIterator i = args[0].iterate();
do {
Properties props = ModuleUtils.parseProperties( ((NodeValue) i.nextItem()).getNode() );
String host = props.getProperty("host");
String tmp = props.getProperty("port");
int port = tmp == null ? 11211 : new Integer(tmp).intValue();
InetSocketAddress ia = new InetSocketAddress(host, port);
ialist.add(ia);