added ability to specify attributes and value for singular type element
remove outputs
Applied for complex type tag to specify simple value and attributes
Merge pull request #519 from Funfun/master

Added missing ability of specifying value and the same time an attributes for simple tag