/usr/lib/Tclxml3.3/tclxslt-libxslt.tcl is in tclxml 3.3~svn11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # tclxslt.tcl --
#
# Tcl library for TclXSLT package.
#
# Copyright (c) 2001-2003 Zveno Pty Ltd
# http://www.zveno.com/
#
# See the file "LICENSE" in this distribution for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# $Id: tclxslt.tcl,v 1.4 2003/12/09 04:57:35 balls Exp $
namespace eval xslt {
namespace export getprocs
}
proc xslt::getprocs ns {
set functions {}
set elements {}
foreach proc [info commands ${ns}::*] {
if {[regexp {::([^:]+)$} $proc discard name]} {
if {[string equal [lindex [info args $proc] end] "args"]} {
lappend functions $name
} else {
lappend elements $name
}
}
}
return [list $elements $functions]
}
|