added url process pattern and regex to
xmldoc.cpp.