Search the web
Sign In
New User? Sign Up
tdom · tDOM - fast DOM / XPath for Tcl in C
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1784 - 1841 of 1978   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1784
Hello, I have a problem when I want to output the XML of a node with its namespace. In the following example dom createDocumentNS "myNamespace" Test doc $doc...
mtotschnig
Offline Send Email
Feb 6, 2008
10:26 am
1785
... That's not a mistake, that's a good idea. In other words: No, you are right to believe that asXML should at least be able to output the node with its...
Rolf Ade
rolf@...
Send Email
Feb 6, 2008
11:11 pm
1786
... I have found a way to insert the namespace of the node on which asXML is called like this proc asXmlNs {node} { set name [$node localName] set ns [$node...
mtotschnig
Offline Send Email
Feb 7, 2008
12:36 pm
1787
... Yes, it isn't that simple. I had temporarily adding all XML namespace declaration in scope of $node in mind, then asXML, then remove. Adding all XML...
Rolf Ade
rolf@...
Send Email
Feb 7, 2008
5:47 pm
1788
... Thank you, Yes that seems to work. But I would like to know what exactly you mean by magic and no-nos. Is it the namespace axis in the selectNodes...
mtotschnig
Offline Send Email
Feb 8, 2008
3:32 pm
1789
... The bit magic is the namespace axis, yes (but is may be too much said). The no-no is, to use DOM 1 methods (setAttribute, removeAttribute, hasAttribute)...
Rolf Ade
rolf@...
Send Email
Feb 8, 2008
6:36 pm
1797
java question and answer at http://javaanswers1.blogspot.com/...
sofiya.sena5
Offline Send Email
Feb 16, 2008
10:44 am
1802
I'm using tDOM to parse HTML. (I need the XPath query capability, so htmlparse is not sufficient for my needs.) The following form causes an unexpected problem...
saintpaulsnail
Offline Send Email
Feb 28, 2008
3:17 pm
1803
With email text wrapping it is a little hard to see what is happening, but the input attributes need to be quoted. If you run xmllint --debug on the input,...
Kevin Partin
Kevin.Partin@...
Send Email
Feb 28, 2008
3:53 pm
1804
... You've already successfully reported the bug. Reporting problems here on the list is perfect. I confirm the bug for 0.8.2. It seems to work well with...
Rolf Ade
rolf@...
Send Email
Feb 28, 2008
4:05 pm
1805
... If "anything" means coloring a line to mark it as "somehow" wrong, then yes. Once I fully quoted the HTML attributes: <input TYPE="CHECKBOX"...
saintpaulsnail
Offline Send Email
Feb 28, 2008
4:22 pm
1806
... I have ActiveState 8.4.14 for Windows. My lib directory contains tdom0.8.1. If I retrieve the cvs head, will I need to build it for Windows before I can...
saintpaulsnail
Offline Send Email
Feb 28, 2008
4:30 pm
1807
Your <input> line should be <input TYPE="CHECKBOX" name="msrf_disp_res_nodc" VALUE="1" checked="CHECKED"/> Note the '/>' to end the input tag. The the </td>...
Kevin Partin
Kevin.Partin@...
Send Email
Feb 28, 2008
4:52 pm
1808
... ActiveState distributes recent cvs snapshots for various packages, including tdom. As far as I see, they have a tdom 0.8.3 in the their teapot repository. ...
Rolf Ade
rolf@...
Send Email
Feb 28, 2008
5:09 pm
1809
... Except I'm using tdom to parse HTML, since it has that option, and that is what I need. As I recall the "/>" is for XML....
saintpaulsnail
Offline Send Email
Feb 28, 2008
5:17 pm
1810
... I downloaded the latest ActiveState release, which came with tdom 0.8.2. I've programmed my way around the problem for now. escargo...
saintpaulsnail
Offline Send Email
Feb 28, 2008
7:38 pm
1812
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: ...
saintpaulsnail
Offline Send Email
Mar 5, 2008
10:28 pm
1813
... 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@...
Send Email
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@...
Send Email
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...
Michael A. Cleverly
michaelcleverly
Offline Send Email
Mar 7, 2008
3:51 am
1816
... [...] ... Yes. rolf...
Rolf Ade
rolf@...
Send Email
Mar 7, 2008
9:44 am
1817
... 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...
saintpaulsnail
Offline Send Email
Mar 7, 2008
2:32 pm
1833
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...
anil_a_ece
Offline Send Email
Apr 28, 2008
4:42 am
1834 anil_a_ece
Offline Send Email
Apr 28, 2008
4:43 am
1835
... http://wiki.tcl.tk/tdom Michael...
Michael A. Cleverly
michaelcleverly
Offline Send Email
Apr 28, 2008
5:12 am
1837 anil_a_ece
Offline Send Email
Apr 29, 2008
6:11 am
1838
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...
anil_a_ece
Offline Send Email
Apr 29, 2008
6:16 am
1839
... 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@...
Send Email
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...
Al Chou
HotFusionMan
Offline Send Email
Apr 29, 2008
1:25 pm
1841
... string(/Command_Line_Interface_Reference/commands/name)] ... ok i will just go through the xpath...
anil_a_ece
Offline Send Email
Apr 30, 2008
3:18 am
Messages 1784 - 1841 of 1978   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help