CSI Report Contents XML File
CSI Report Contents
XML File
For SAP2000®, ETABS®, SAFE®
and CSiBridge®
ISO GEN041709M2 Rev. 1
Proudly developed in the United States of America
August 2010
Copyright
Copyright Computers and Structures, Inc., 1978-2013
All rights reserved.
The CSI Logo®, SAP2000®, ETABS®, SAFE®, and CSiBridge® are registered
trademarks of Computers and Structures, Inc. Watch & LearnTM is a trademark of
Computers and Structures, Inc.
The computer programs SAP2000®, ETABS®, SAFE® and CSiBridge® and all
associated documentation are proprietary and copyrighted products. Worldwide
rights of ownership rest with Computers and Structures, Inc. Unlicensed use of
these programs or reproduction of documentation in any form, without prior
written authorization from Computers and Structures, Inc., is explicitly
prohibited.
No part of this publication may be reproduced or distributed in any form or by
any means, or stored in a database or retrieval system, without the prior explicit
written permission of the publisher.
Further information and copies of this documentation may be obtained from:
Computers and Structures, Inc.
www.csiamerica.com
info@csiamerica.com (for general information)
support@csiamerica.com (for technical support)
DISCLAIMER
CONSIDERABLE TIME, EFFORT AND EXPENSE HAVE GONE INTO THE
DEVELOPMENT AND TESTING OF THIS SOFTWARE. HOWEVER, THE USER
ACCEPTS AND UNDERSTANDS THAT NO WARRANTY IS EXPRESSED OR
IMPLIED BY THE DEVELOPERS OR THE DISTRIBUTORS ON THE ACCURACY OR
THE RELIABILITY OF THIS PRODUCT.
THIS PRODUCT IS A PRACTICAL AND POWERFUL TOOL FOR STRUCTURAL
DESIGN. HOWEVER, THE USER MUST EXPLICITLY UNDERSTAND THE BASIC
ASSUMPTIONS OF THE SOFTWARE MODELING, ANALYSIS, AND DESIGN
ALGORITHMS AND COMPENSATE FOR THE ASPECTS THAT ARE NOT
ADDRESSED.
THE INFORMATION PRODUCED BY THE SOFTWARE MUST BE CHECKED BY A
QUALIFIED AND EXPERIENCED ENGINEER. THE ENGINEER MUST
INDEPENDENTLY VERIFY THE RESULTS AND TAKE PROFESSIONAL
RESPONSIBILITY FOR THE INFORMATION THAT IS USED.
CSI Report Contents XML File
1
General
The Report Contents file is an XML file. It is used to define the components
included in a report. A default report contents file is provided with the program
(see Note). When a report is created, the program uses the default report file
unless an alternate .xml file has been specified. Use the File menu > Report
Setup command in SAP2000, ETABS, or SAFE or the Orb > Report > Report
Setup command in CSiBridge to specify use of an .xml file other than the default
file for a report.
Note: The default xxxReportContents.xml must be located in the same directory
as the program executable file. The "xxx" is Sap, Etabs, Safe, or CSiBridge,
depending on the program in use. The following table identifies the .xml file and
the executable file for each CSi Program.
Program-Specific XML File Name and Program Executable File Name
Program
SAP2000
ETABS
SAFE
CSiBridge
XML File
SapReportContents.xml
EtabsReportContents.xml
SafeReportContents.xml
CSiBridgeReportContents.xml
Program Executable File
Sap2000.exe
Etabs.exe
Safe.exe
CSiBridge.exe
The use of the Report Contents file is currently available for SAP2000 Version 12
and later, SAFE Version 12 and later and CSiBridge Version 15 and later. It will
become available for ETABS with the next major release of the software.
2
Schema
The schema is in the file named xxxDefaultReportContents.xsd, which is located
in the same directory as the program executable file (see preceding table). Again
xxx is Sap, Etabs, Safe, or CSiBridge, depending on the program in use.
1
CSI Report Contents XML File
3
Element Description
As indicated in the schema (see program-specific .xsd file), the root of the Report
Contents XML file is , which includes the following complex elements:
Following is a series of subsections that describe the simple elements included in
each complex element. Note that all elements in the .xml file are named using all
lower case letters with underscores at the internal spaces.
3.1
The element defines control parameters for the report.
Assumed
Description
Value*
The program version to which the report contents
Not specified
file applies.
The format file that applies to each table in the
Currently
report unless a table is overwritten by a tablespecified
specific format file in the complex table element.
format file
This item applies to the report cover page. If a
Not specified
value is specified for this item, it is used to
overwrite the default user logo on the cover page.
This overwrite may be the full path of any
graphics file or one of the following built-in
values:
Default Undeformed
Default Deformed
None
See Notes.
This item applies to the report cover page and
Not specified
footer. This company name will be used if no
company name is specified in the project
information data for the model. See Notes.
The title of the report on the cover page.
Not specified
* value assumed by the program if the simple element is not included in the
complex element
Simple Element
2
CSI Report Contents XML File
Notes:
1. By default, the user logo that appears on the middle of the report cover page
is picked up from the graphic file named UserLogo.xxx (where xxx is a
graphic extension such as .emf, .bmp, etc.). The program looks for the
UserLogo.xxx file in the same directory as the SAP2000.exe file (if you are
using SAP2000), the Safe.exe file (if you are using SAFE), or the
CSiBridge.exe file (if you are using CSiBridge).
The default user logo behavior can be overwritten using the
element to specify either another graphics file or one of three built-in options.
The Default Undeformed option replaces the user logo with an undeformed
plot of the model. The Default Deformed option replaces the user logo with a
deformed plot of the model, if a deformed plot is available. Otherwise, it
replaces it with an undeformed plot. The None option leaves the user logo
area on the cover page blank.
2. To fill in the company name on the report cover page and in the report footer,
the program first checks the project information specified for the model. If the
company name in the project information is blank, the program checks the
element in the Report Contents XML file. If that is not
specified, the program uses the company name that was specified when the
program was first installed and saved in the registry.
3.2
Each element contains one of the components of the report as a child
element. Two (or more) components cannot be included in a single
element. The following elements are the components of the report:
3.3
- A child of
The element, a child element of the element, inserts a
section header into the report.
3
CSI Report Contents XML File
Assumed
Description
Value*
Header text for the section
Not specified
1, 2 or 3, indicating the section level
1
True or false, indicating if the section header
true
is automatically numbered based on its level
(true) or not (false)
Left, Center or Right, indicating the alignment
Left
of the header text
True or false, indicating if the section is
true
conditional (true) or not (false). See notes
below.
True or false, indicating if a page break is
false
inserted before the section header (true) or
not (false)
True or false, indicating if a page break is
false
inserted after the section header (true) or not
(false)
The number of blank lines occurring before
0
the section header
The number of blank lines occurring after the
0
section header
* value assumed by the program if the simple element is not included in the
complex element
Simple Element
Notes:
1. If the conditional flag is true for a section and if no tables, no pictures, and no
subsections exist for inclusion in the section, the remaining contents of the
section, including the section header, is omitted from the report. For example,
if the Report Contents XML file specifies including data for analysis results but
no analysis results are available when the report is created, the analysis
results subsection is omitted from the report. If the analysis results are
included in a separate section of the report, the entire section would be
omitted from the report. Thus, there would be no extraneous text in the
report concerning analysis results.
3.4
- A child of
The element, a child element of the element, inserts a
picture into the report.
4
CSI Report Contents XML File
Simple Element
Description
The source of the picture:
1
Default undeformed view
2
Default deformed view
3
Specified graphics file
4
Named display
5
Plot function trace named set
6
Pushover named set
7
TH response spectrum named set
8
Function
This item applies when the
element is 3 through 8. It is the name of
the source item. For example, if the
element is 3, it is the full path
of the graphics file. If the
element is 4, this is the name of a Named
display.
This is the desired aspect ratio (width
divided by height) of the picture when it is
captured. This item does not apply when
the element is 3.
The units used for the
and elements:
1
inches
2
millimeters
The maximum desired height of the
picture as displayed in the report in the
units specified by the
element; 0
means use the actual picture height; see
notes at the end of this table
The maximum desired width of the picture
as displayed in the report in the units
specified by the
element; 0
means use the actual picture width; see
notes at the end of this table
Left, Center or Right, indicating the
alignment of the picture
True or false, indicating if the picture is
automatically numbered (true) or not
(false)
Text for the picture caption
Below or Above, indicating the location of
the picture caption with respect to the
picture
Left, Center or Right, indicating the
alignment of the picture caption
5
Assumed
Value*
1
Not
specified
1
1
0
0
Left
true
Not
specified
Below
Left
CSI Report Contents XML File
Simple Element