Given an XML document with the following line in it
<library>test</library>
shouldn't the following command return the text node containing the
value "test"
% set node [$root selectNode library/text()=\"test\"]
Instead, the command returns the value 1, which I interpret to mean that
the node was found. The following command will return the library
element itself
% set node [$root selectNode library\[text()=\"test\"\]]
domNode0x80b6a04
% $node asXML
<library>test</library>
Kevin
--
Kevin Partin
Applied Structural Dynamics, Inc.
(281) 286-8959