Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-01-2004, 01:01 PM
tim.calderwood tim.calderwood is online now
Registered User
 
Join Date: 05-20-2003
Posts: 13
Only one top level element is allowed error

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.
Attached Files
File Type: bld logscript.bld (1.8 KB, 1691 views)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:18 PM.


Copyright © 1999-2023 Kinook Software, Inc.