Re: tdom - not understanding "nextSibling"



If anyone is interested, here is the solution I came up with. I had
to reference the parent node to get around the error. My thanks to
Christian for the help.
----------------------------------------------------------------
if { $type == "ELEMENT_NODE" } {
append returnstring $name:
} else {
append returnstring $value
set parentnode [$doc parentNode]
if { [$parentnode nextSibling] != "" } {
append returnstring ","
}
}
.