I'm having trouble with the selectNodes method if the DOM includes a default namespace. Below is a stripped down example of a document I'm working on. The...
... This topic has been discussed on this list a few times. Does http://groups.yahoo.com/group/tdom/message/449 explain, why your XPath query does not work? ...
rolf@...
Aug 9, 2004 10:58 pm
871
The tDOM makers are pleased to announce that tDOM 0.8.0 is avaliable for download at http://www.tdom.org/files/tDOM-0.8.0.tar.gz. A binary package for MS...
rolf@...
Aug 11, 2004 12:54 am
872
Folks, I try to install AOL server with tDOM 0.8. After download tDOM zip files, I tried various locations to put tDOM tcl/DLLs etc. Unfortuntaly, I still...
... Upfront: I'm not Win expert... If you just go ahead and do: load <wherever_you_install_tdom>/libtdom.dll then it should work. Normally, during the startup...
... I suspect, AOL server on windows is multi-threaded. The windows binaries on www.tdom.org are not mt enabled. You can't use them together with a mt-enabled...
rolf@...
Aug 18, 2004 8:50 am
875
Does anyone have a copy of MT-enabled tDOM for win32? If so, please share. Andy ... __________________________________ Do you Yahoo!? Take Yahoo! Mail with...
Hello All, I know of a good long term position in Dulles, Va for TCL/TK Unix developer for a 2yr project. Anyone intrested pls. let me know. regards...
Hello, perl's libxml2 interface provides functions that one can run on 'nodelists': http://search.cpan.org/~phish/XML-LibXML/lib/XML/LibXML/NodeList.pm We've...
Please help the tDOM newbie! Ok, so I grab an XML doc with the following: proc fetchXML {uri} { set token [http::geturl $uri] if {[http::status $token] != "ok"...
... You are suffering from XML namespaces. Here's the problem: the document element says: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" ...
Joe English
jenglish@...
Aug 27, 2004 1:39 am
881
... how to ... http://www.sophos.com/virusinfo/infofeed/tenalerts.xml] ... few ... Thanks Joe. That got me going with queries such as this: set titleXpath...
... I'm not sure, I've gotten the point. I typically iterate with forach over a nodelist result, if needed. Simply foreach child [$node selectNodes *] { # do...
rolf@...
Aug 30, 2004 10:18 pm
883
... Well, you should test for both the local-name() and the namespace-uri() of the node. So this should be at least [$doc documentElement] selectNodes...
rolf@...
Aug 30, 2004 10:32 pm
884
Hi I get this under Solaris 9, gcc 3.4.1 with the tarball I d/l from www.tdom.org . bash-2.05# make make: *** No rule to make target `xmlsimple.o', needed by...
Are you compiling in the top-level tdom directory, by any chance? If so, change into the unix sub-directory and try from there. i.e.: cd unix ../configure...
... Yeah, not looking user-friendly. ... Thanks for your understanding. http://www.xml.com/pub/a/2004/04/07/dive.html shows some sample XML files and XPath...
... [I had just started an answer to your previous mail, but it seems, you've sorted some things out by yourself. Great!] I don't understand exactly what...
rolf@...
Sep 1, 2004 7:56 pm
889
... In the article (http://www.xml.com/pub/a/2004/04/07/dive.html), the author mentions his namespace conventions, so I think I'll try this on all documents I...
[I tried to put this from the list, until i've figured out, with what exactly you're struggling. But I wasn't able to get mail throu to davygrvy@...,...
rolf@...
Sep 1, 2004 8:43 pm
891
... I checked the reject log for my account (my big spam filter), but didn't find a listing for your attempt. Was the remote server a *.pobox.com one? ... The...
... Does the following code help you to make progress? package require tdom set doc [dom parse { <feed version="0.3" xmlns="http://purl.org/atom/ns#" ...
rolf@...
Sep 1, 2004 9:45 pm
893
... Yes, I found default namespaces to be horrible. My solution was to run everything through a stylesheet first and avoid them entirely. Attached is my...
... The xmlns:xml namespace is always implicitly present, due to the related recommendations, there is no need to add it explicitly. tDOM should behave...
rolf@...
Sep 1, 2004 11:50 pm
895
namespace::*[name()=''] That query is right on the money. -- David Gravereaux <davygrvy@...> [species: human; planet: earth,milkyway(western spiral...
... I didn't set out to add that namespace, but the stylesheet loops over all the namespaces in the input document and reproduces them in the output document...
... Ah, yes, that's another gab to fill. Though, I'm unsure what would be a convenient syntax. What about $node toXPath ?varname? with the variable with the...
rolf@...
Sep 2, 2004 9:21 am
898
... Rolf, From my limited understanding, I like your idea. This is what I ended up doing to assert a prefix for a default namespace. It seems to be doing ...