private void addAttribute ( String attrName , String attrValue ) { if ( attrName == null ) return ; _xml . append ( ' ' ) ; _xml . append ( attrName ) . append ( "=\"" ) ; _xml . append ( XMLUtils . xmlEncode ( attrValue ) ) . append ( ' ' ) ; }
Adds the attribute