I've nearly no experience with xml. I apologize for and admit that right up front. I've some XML I'd like to process in a Tcl script. I was using another xml...
... You're doing SAX processing, here. It looks like, you've only to change the [package require ...] line: package require tdom and your code probably run, as...
rolf@...
May 3, 2004 4:17 pm
788
Hello, The following code outputs something that does not look as an XML tree. Is this a bug or am I doing something wrong? set html { <!DOCTYPE HTML PUBLIC...
... Looks like you're doing something wrong. An xslt transformation creates an external general parsed entity, that is not necessarily a well-formed XML...
rolf@...
May 4, 2004 5:42 pm
790
Rolf, Thanks for the information. It was only necessary to add: <xsl:template match="html"> <xsl:apply-templates select="body"/> </xsl:template> The xslt...
Hello, When I try the following code, I obtain: set html { <HTML><HEAD></HEAD> <BODY> <H1>HTML Clipboard Format </H1> </BODY> </HTML> } puts [package require...
... Looks like a bug. Strange. I'll look into this. Thanks for reporting! ... Hmm. There isn't a <layer> tag either in any HTML standard nor in XHTML. It's a...
rolf@...
May 5, 2004 5:32 pm
793
... What's that quote? "Be generous in what you accept, but strict in what you produce"? Something like that anyway. I'd vote for adding this stuff in. I...
... reporting! ... will ... element ... HTML ... Rolf, I agree with adding it. In fact, I would add any strange tag, that the fact of adding it, does not break...
Hi If you are an expert in C, C++ on Unix, then this might be the opportunity you are looking for. Our client, a world Top 10 brand, has set up their new...
Hi all, just managed to get tDOM from cvs to compile under MSYS/MinGW. It errors out compiling the stubs table, but this is fixable with the following...
Hi If you are an expert in Unix/Linux with C, C++, then this might be the opportunity you are looking for. Our client, a world Top 10 brand, has set up their...
... Errrm... It worked for me on linux with any gcc version, I've ever given a try. IIRC the oldest linux box, I build 0.7.8 on was a SuSE 6.4 with an egcs...
rolf@...
Jun 9, 2004 1:25 pm
802
Hi, I get the latest copy from CVS instead of here: http://www.tdom.org/tDOM-0.7.8.tar.gz, and it works now! Thanks. mk ... it's ... required?...
Hello, Have there been any improvements in tdom related to below email? I currently substituted tdom by htmlparse for this, but I'd like to use tdom again. ...
... With current CVS HEAD: % set html { <HTML><HEAD></HEAD> <BODY> <H1>HTML Clipboard Format </H1> </BODY> </HTML> } puts [package require tdom] dom parse...
rolf@...
Jun 11, 2004 8:56 am
805
I was really far into debt. Like Most I was in Financial dispair. I could not seem to get ahead no matter how hard I tried. Untill I found this place. ...
Hello, Is there a way to extend (add additional ones) methods under the dom and domNode objects? For example the current methods for a domMode are nodeType,...
... Brian is right. Same works also for domDocs and the dom command itself. Any function defined in the ::dom::domDoc namespace will be available as a domDoc...
rolf@...
Jun 16, 2004 12:56 pm
809
I have some XML (for WebDAV) that looks like this: <D:multistatus xmlns:D="DAV:"> <ns0:response xmlns:ns0="DAV:"> </ns0:response> </D:multistatus> The same...
... A wacky XML document (same namespace bound to two different prefixes without a reason), but a correct, well-formed one. ... This is not well-formed! Are...
rolf@...
Jun 16, 2004 1:55 pm
811
... Here is the XML I captured from the mod_dav response. <?xml version="1.0" encoding="utf-8"?> <D:multistatus xmlns:D="DAV:"> <D:response xmlns:lp1="DAV:" ...
... This document is well-formed. So, what exactly is the problem? I still have to guess. I assume, you're fighting with the fact, that this document uses two...
rolf@...
Jun 16, 2004 2:41 pm
813
Brian/ Rolf Thank-you. This is great. IMHO done 'the right way'. ;-) thanks for supporting tdom. ... -- Aamer Akhter / aa@... NSITE cisco Systems...
I was trying to use tdom to parse the RSS feed and encountered some issues. Below is the first few lines in the RSS feed <?xml version="1.0" encoding="UTF-8"?>...
... You've not fully understood, how XPath works. This topic has come up several times on this list (I wonder, that a long time subscriber like you didn't...