change the xml generate file to cat the cert attribute