Add standalone attribute to xml tag

Sometimes it is necessary to provide the standalone attribute inside the xml tag.