... 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 ...
% set dom [tmlrss::GetDOM http://www.johnkerry.com/pressroom/index.xml] error "unknown encoding" at line 1 character 30 "ion="1.0" encoding="w <--Error--...
... You're working with a tDOM version < the 0.8 release, right? ... Nothing. And the error msg doesn't say, that there is an XML syntax error. It just say...
... No, 0.8 % package require tdom 080 % ... Just looked, yes. I added the arm "windows-1252" {return "cp1252"}, but that proc doesn't get called before the...
... Oh - you don't use an -externalentitycommand! Then, I misguided you with my last reply. No, tDOM doesn't use XML_SetUnknownEncodingHandler. The parser does...
rolf@...
Sep 6, 2004 3:47 pm
904
... Ahh.. Will research this and get back to you. I think the http package uses iso8859-1 by default, so I could just [encoding convertfrom ...], but not...
... It sounds like you're writing an RSS aggregator, so a word of caution: don't trust the Content-Type: or charset parameter in the HTTP response. Web...
Joe English
jenglish@...
Sep 6, 2004 8:53 pm
906
... Thanks for the pointer. I didn't know that DTDs weren't getting used normally. % set ::tDOM::extRefHandlerDebug 1 1 % set t [http::geturl...
... Yeah, I thought it was going to be simple to do... The accuracy part is getting hard to attain with more than 9 versions of a "feed" out there and all...
... Yes. The default (without -externalentitycommand) is, to ignore all external entities. Setting an -externalentitycommand enables external entity resolving....
rolf@...
Sep 7, 2004 1:34 pm
909
... Here's an example of something I've come across.. I find it amusing, actually. This one Yahoo! feed I use, http://rss.news.yahoo.com/rss/highestrated ,...
I saved thousands of dollars a month with this free service. Every little bit of cash adds up over time. Let them show you how it works. you must copy and...
Hi I use ./unix subdirectory and doing 'make' i get as follows: ../expat/expat.h:985: warning: `cdecl' attribute directive ignored rm -f libtdomstub0.8.0.a cr...
... What are your ../configure options (please show the complete configure call). What compiler do you use? rolf...
rolf@...
Sep 14, 2004 7:40 pm
913
I believe the following is a minimal script that demonstrates tDOM leaks memory if the expat parser is used. I'm using tDOM 0.8.0. I saw in this list's ...
... We try hard, to not leak memory. I regularly check against the included test suite and tons of seperate xslt test stylesheets (> 2500) with valgrind. And...
rolf@...
Sep 14, 2004 10:55 pm
915
rolf, We have been using tDOM in AOLServer to both build XML documents and then for the actual xsl transformations. We have a need for CDATA nodes in our XML,...