nl_tokens: TODO convert this to an options object
pl_tokens: function ( obj , attrPrefix , standalone , indent , indentStr , fragment ) { <mask> attributePrefix = ( attrPrefix ? attrPrefix : '@' ) ; if ( fragment ) { xmlWrite . startFragment ( indent , indentStr ) ; } else { xmlWrite . startDocument ( 'UTF-8' , standalone , indent , indentStr ) ; } traverse ( obj , '' , attributePrefix ) ; return xmlWrite . endDocument ( ) ; }