PDA

View Full Version : xml reports aren't xml


Bill
26-Feb-2004, 04:44 PM
I can't seem to find a way to get layout:xml working correctly. When I try generating an xml report via script, the report isn't xml (instead it is identical to the side-by-side report).

I can successfully save an xml report from the UI, but I need to do this in script. I'm running v2.1.2 (build 216). Please help.

===================
Script:
load c:\temp\bc2test
expand all
snapshot save-crc save-version no-filters lt output:test.bcss
folder-report layout:xml options:display-all output-to:test.xml
option confirm:no-to-all
compare

=====================
Contents of test.xml:
FOLDER COMPARISON
Produced: 2/26/2004 3:42:55 PM

Mode: All Files
Name Size Modified Name Size Modified
-----------------------------------------------------
a.txt 4 2/26/2004 3:31:08 pm >>
b.txt 4 2/26/2004 3:31:08 pm >>
c.txt 4 2/26/2004 3:31:08 pm >>
d.txt 4 2/26/2004 3:31:08 pm >>
-----------------------------------------------------

03-Mar-2004, 12:11 PM
I'm getting the exact same thing. When I want to create an xml folder report, the file generated is identical to one I created using the side-by-side format and its not xml. I'm running v2.1.2(build 216) as well.

Craig
03-Mar-2004, 01:30 PM
Sorry about that guys. There was a typo in the script processing, so 216 doesn't handle folder comparison XML reports correctly. This will be fixed in the next release, but if you need something earlier email support@scootersoftware.com.