Re: tdom - not understanding "nextSibling"
- From: chedderslam <chedderslam@xxxxxxxxx>
- Date: Fri, 30 May 2008 05:35:26 -0700 (PDT)
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 ","
}
}
.
- References:
- tdom - not understanding "nextSibling"
- From: chedderslam
- Re: tdom - not understanding "nextSibling"
- From: Christian Nassau
- Re: tdom - not understanding "nextSibling"
- From: chedderslam
- Re: tdom - not understanding "nextSibling"
- From: chedderslam
- Re: tdom - not understanding "nextSibling"
- From: Christian Nassau
- Re: tdom - not understanding "nextSibling"
- From: chedderslam
- tdom - not understanding "nextSibling"
- Prev by Date: Re: merging variables and arrays ...
- Next by Date: Re: merging variables and arrays ... conflicting with cloverfield?
- Previous by thread: Re: tdom - not understanding "nextSibling"
- Next by thread: kruBibkdtgrUy
- Index(es):