As near as I can tell from the documentation, if I want the names and values of all the attributes of a node in a list together, I need to do the following: ...
... I'd written it with 2 lines lesser, but otherwise yes. DOM methods. An alternative to that could be $node selectNodes @* with returns a list of att...
Rolf Ade
rolf@...
Mar 6, 2008 11:03 pm
1814
I'm sorry - I missed to send out a note in time, that tdom cvs anon access is up again (it is since a while). rolf...
Rolf Ade
rolf@...
Mar 6, 2008 11:11 pm
1815
... But all that is needed is to strip one level of list-ness (right?): join [$node selectNodes @*] In Tcl 8.5 the above should be interpretable as a valid...
... I am not familiar with XPath, so this never would have occurred to me. It's not an example listed in the tDOM documentation, so I never would have found it...
Hi, I am new to tDOM. So please send me some example with which I can get an idea on tDOM. Thanks in advance! __________________________ Thanks & regards, Anil...
Hi, Generally we use "set node [$root selectNodes /Command_Line_Interface_Reference/commands/name/text()]" to get the text data from the node "name". But I...
... I understand, that you want to do something. And that you're unhappy with the way, you do this something now. But I don't really understand what you're...
Rolf Ade
rolf@...
Apr 29, 2008 12:50 pm
1840
I missed the original post and haven't used tDOM for a while, but maybe the OP is looking for something like: proc...
I've never actually coded a solution like what I'm about to describe, so take it with a grain of salt. I think you could get all the int tags' values and then...
I can foreach to get the values but the thing is my code shoulb be generic and some times they may change the names for the same values So my intension is to...
As far as I understand, you're asking for the right XPath expression to be used as selectNodes argument. Studying a good XPath tutorial is probably inevitable,...
Rolf Ade
rolf@...
May 5, 2008 1:43 pm
1847
Ok I will check this and then I'll send u the comments Thanks and regards, ... Peter parker...
I am (co-) responsible for some packaging activities over at the Debian Tcl/Tk Team which aim at wrapping-up http://openacs.org in terms of Debian Packages. As...
... That's by far the most famous request about the build system since a while. ... Some weeks ago two others out of the openacs/debian folks exchanged a few...
Rolf Ade
rolf@...
May 13, 2008 11:06 pm
1851
Rolf, ... Thanks for the hint, now I do have another showcase example: http://lists.opensuse.org/opensuse-commit/2007-08/msg00832.html ... I agree, and all...
Hello, I'd like to use tDOM to parse XML bellow, <Top> <Branch Name="Test"> <Parameter1 Value1_1="1" Value1_2="2" /> <Parameter2 Value2_1="10" Value2_2="20" />...
... Unfortunately, you haven't provided any piece of example code. It sounds like you've used [dom parse -html ...] instead of just [dom parse ...]. dom parse...
Rolf Ade
rolf@...
May 23, 2008 1:42 pm
1854
... Hello Rolf, You were right with the html option. I removed and now it it working fine. Thanks a lot, Marian...
Hi, I need to append the variables "command, destIP, option, minValue and maxValue" for each x and y values into different lists. Is there any command in tcl...
Hi, I need to append the variables "command, destIP, option, minValue and maxValue" for each x and y values into different lists. Is there any command in tcl...
Dear all, Dear Rolf! After some fiddling, tDOM is about to be re-introduced into Debian, namely the Debian sid ("unstable") distribution. The debianized ...