| Subject: | Re: tdom - not understanding "nextSibling" |
|---|---|
| From: | chedderslam |
| Date: | Thu, 29 May 2008 14:25:23 -0700 PDT |
| Newsgroups: | comp.lang.tcl |
This is part of a recursive call that is parsing out the document, so I can't hard-code the reference like you did in your example. Is there a way to test if the current node has a sibling? I understand I can set a variable to [$doc nextSibling], but I assume because this is an object I can't just check for length. Would I somehow be able to check if the [$doc nextSibling] command results in a null value, or will it always result in an empty string if there is no sibling? Sorry, I'm really new to this. I appreciate the help. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: tdom - not understanding "nextSibling", Christian Nassau |
|---|---|
| Next by Date: | Re: tdom - not understanding "nextSibling", chedderslam |
| Previous by Thread: | Re: tdom - not understanding "nextSibling", Christian Nassau |
| Next by Thread: | Re: tdom - not understanding "nextSibling", chedderslam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |