public XMLWriter startElement ( String element ) { append ( "<" + element ) ; if ( rootElement && xmlns != null ) { append ( " xmlns=\"" + xmlns + "\"" ) ; rootElement = false ; } append ( ">" ) ; elementStack . push ( element ) ; return this ; }
Starts a new element with the specified name at the current position in the in - progress XML document .