code: protected void addNs(final XmlEmit xml,
                         final String val) throws Throwable {
      if (xml.getNameSpace(val) == null) {
        xml.addNs(new NameSpace(val, null), false);
      }
    }
docs: Add a namespace
  
  @param val
  @throws Throwable