fixed xsl script
created structuralInfo and documentInfo class to write data to stream