code: @Override
      public void writeAttribute(String localName, String value)
          throws IOException, XMLStreamException
      {
          writeAscii(BYTE_SPACE);
          writeName(localName);
          writeAscii(BYTE_EQ, BYTE_QUOT);
  
          int len = value.length();
          if (len > 0) {
              if (mAttrValueWriter != null) { // custom escaping?
                  mAttrValueWriter.write(value, 0, len);
              } else { // nope, default
                  writeAttrValue(value);
              }
          }
          writeAscii(BYTE_QUOT);
      }
docs: /*
  //////////////////////////////////////////////////
  Write methods, attributes/ns
  //////////////////////////////////////////////////