[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Updated -xml_tab- on SSC

From   "Zurab Sajaia" <>
To   "statalist" <>
Subject   st: Updated -xml_tab- on SSC
Date   Mon, 31 Mar 2008 10:59:27 -0400

Thanks to Kit Baum, updated version of -xml_tab- is available from SSC.

New option -mv()- was added to automatically change missing values into any other values. The syntax is virtually same as -mvencode- but can replace missing values with any string, not only numeric values.

-cblanks()- and -cwidth()- accept "Equations" keyword as well to automatically add blank columns (and control their width) after every equation.

Few more modifications to clean up the code and fix some (potential) problems were made in this version as well.

To install the updates type:
.adoupdate xml_tab, update
.ssc install xml_tab, replace


For those who might not be familiar with -xml_tab- it's a program that saves Stata output into XML file that can be directly opened in MS Excel or OpenOffice Calc. The program is quite flexible to essentially do everything Excel or Calc can do in terms of formatting of a table, but from within
Stata. The unique feature of -xml_tab- is that the program allows controlling the formatting of the output tables. -xml_tab- can output the results using different fonts, change borders of the output cells, insert rows and columns, etc.

One can combine multiple estimation results saved using -estimates store- and output results next to each other in a single table. Using Excel's workbook format allows saving tables on different sheets of the same XML file (workbook). This feature can be useful when there's a big number of output tables generated using loops that need to be collected into a single file.

for more info, please type:
.findit xml_tab

We would be thankful for any suggestions about the additional options and improvements in -xml_tab-.

Michael Lokshin and Zurab Sajaia

* For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index