code: public QName createQName(String strName)
     {
        String[] parts = strName.split(":");
        if (parts.length > 1)
           return new QName(getNamespaceURI(parts[0]), parts[1], parts[0]);
        else
           return new QName(parts[0]);
     }
docs: Converts String into QName.
  
  @param strName string name
  @return new QName