tim.calderwood
08-01-2004, 01:01 PM
I am having problems with converting the XML logs to HTML. The steps I am doing are...
0. Build our software in performance debug
1. Copy xml file (%LOGFILE%) to a temp file
2. Convert the temp file to XML using the built in function
3. Copy new HTML file to remote server
4. Build our software in release
5. Copy xml file (%LOGFILE%) to a temp file
6. Convert the temp file to XML using the built in function
At this point I get the "Only one top level element is allowed in an XML document." error. Since I am converting a copy of the orginal log in each build loop, I am not sure why I am getting this error. I have the option "Delete log file at the start of each build check" So when I call the script from other script, we start with a new log.
I am attaching the steps to reproduce the error.
0. Build our software in performance debug
1. Copy xml file (%LOGFILE%) to a temp file
2. Convert the temp file to XML using the built in function
3. Copy new HTML file to remote server
4. Build our software in release
5. Copy xml file (%LOGFILE%) to a temp file
6. Convert the temp file to XML using the built in function
At this point I get the "Only one top level element is allowed in an XML document." error. Since I am converting a copy of the orginal log in each build loop, I am not sure why I am getting this error. I have the option "Delete log file at the start of each build check" So when I call the script from other script, we start with a new log.
I am attaching the steps to reproduce the error.