From: Adam Dickmeiss Date: Thu, 31 May 2007 12:14:02 +0000 (+0000) Subject: Using informaltable rather than table for list of Object Identifiers. X-Git-Tag: YAZ.3.0.10~68 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=fc9ef9d18c52b651a6994b34d1a6c37640dfaef2 Using informaltable rather than table for list of Object Identifiers. This is to avoid truncation of the (long) table. Combine OID and Constant into one column. --- diff --git a/src/oidtoc.tcl b/src/oidtoc.tcl index 2cbe66e..87443e1 100644 --- a/src/oidtoc.tcl +++ b/src/oidtoc.tcl @@ -2,7 +2,7 @@ # Copyright (c) Index Data 2006-2007 # See the file LICENSE for details. # -# $Id: oidtoc.tcl,v 1.7 2007-05-08 08:22:36 adam Exp $ +# $Id: oidtoc.tcl,v 1.8 2007-05-31 12:14:02 adam Exp $ # # Converts a CSV file with Object identifiers to C @@ -47,19 +47,16 @@ proc oid_to_xml {srcdir input xname} { set xfile [open "${xname}" w] puts $xfile "" - puts $xfile {} - puts $xfile {Standard Object Identifiers} - puts $xfile {} + puts $xfile {} + puts $xfile {} puts $xfile {} puts $xfile {} - puts $xfile {} - puts $xfile {} + puts $xfile {} puts $xfile {} puts $xfile {} puts $xfile {Name} puts $xfile {Class} - puts $xfile {Constant} - puts $xfile {OID} + puts $xfile {Constant / OID} puts $xfile {} puts $xfile {} puts $xfile {} @@ -67,12 +64,12 @@ proc oid_to_xml {srcdir input xname} { foreach oid $oids { puts $xfile {} - puts $xfile {} + puts $xfile {} puts $xfile [lindex $oid 2] puts $xfile {} - puts $xfile {} + puts $xfile {} puts $xfile [lindex $oid 0] puts $xfile {} @@ -81,7 +78,11 @@ proc oid_to_xml {srcdir input xname} { puts $xfile $v puts $xfile {} - puts $xfile {} + + puts $xfile {} + puts $xfile {} + + puts $xfile {} puts $xfile [lindex $oid 1] puts $xfile {} @@ -91,7 +92,7 @@ proc oid_to_xml {srcdir input xname} { puts $xfile {} puts $xfile {} - puts $xfile {
} + puts $xfile {} close $xfile }