| The TaskJuggler Manual | ||
|---|---|---|
| Prev | Chapter 7. Property Reference | Next |
| xmlreport <file> | |||
|---|---|---|---|
| Description | Generates a XML report. TaskJuggler 2.x has a much improved XML format. This is not yet the default, but will be in later versions. So you should always specify which version of the XML format should be generated. The file name should have a .tjx extension. Version 2 files are gzip compressed XML Files. The DTD for the version 2 file format can be found on the TaskJuggler Web Site. | ||
| Attributes | Name | Type | Description |
| file | STRING | ||
| Optional Attributes | hideresource, hidetask, hideaccount, rollupresource, rolluptask, rollupaccount, scenarios, version | ||
| Context | The TJP File, | ||
| Inheritable | No | Scenario Spec. | No |
project simple "XML Report Example" "1.0" 2005-06-06 - 2005-06-26
resource tux "Tux"
task items "Project breakdown" {
start 2005-06-06
task plan "Plan work" {
length 3d
}
task implementation "Implement work" {
effort 5d
allocate tux
depends !plan
}
task acceptance "Customer acceptance" {
duration 5d
depends !implementation
}
}
# This is the format that e. g. tjx2gantt can read
xmlreport "Version1.tjx" {
version 1
}
# This is the format that taskjuggler can read and write
xmlreport "Version2.tjx" {
version 2
}