... Best I can say: It will happen, very probably (given that I not got hit by the bus). Treat me as the problem. I'm still recover from getting touched by the...
rolf@...
Mar 3, 2004 12:53 am
768
Hello, I'm trying to include an xslt template from within another (included) xslt template, but can't seem to get it to work. ... The inclusion (from within...
Ross Simpson
mqsimpson@...
Mar 5, 2004 7:17 pm
769
... This is according to the xslt recommendation: Every node has an understanding of its base uri. Yes, it is correct, to use the base uri of the context node...
rolf@...
Mar 6, 2004 8:06 pm
770
... Yes, it helps very much. Simply switching to the tDOM:: helper functions fixed the problem. I inherited the externalEntityRefHandler code and didn't really...
Ross Simpson
mqsimpson@...
Mar 9, 2004 1:17 am
771
hello, how can i install tdom on my hpux system? is there a .depot file? thx...
... Get the source distribution from tdom.org and compile it? At least with gcc this should work (I know about HP tDOM users). ... No. rolf...
rolf@...
Mar 9, 2004 1:09 pm
773
... Another option may be ActiveState ActiveTcl binary distribution. The have a HP-UX PA-RISC version, which includes includes the tDOM core (though not some...
rolf@...
Mar 9, 2004 1:15 pm
774
Considering the help I got regarding my last question about xslt, I have another :) I have an application that includes a large number of xslt files. Not ...
Ross Simpson
mqsimpson@...
Mar 10, 2004 4:48 pm
775
... Yep, you can't conditionally include templates with xslt 1.0. ... Is that too time consuming or what exactly is your problem? There are sure ways. To...
rolf@...
Mar 10, 2004 5:55 pm
776
I just compiled tdom 0.7.8 on Solaris 9 successfully. I figured I'd mention it here because I searched through the postings and only read failure reports...
How can I preserve the CDATA sections? The seem to be getting "lost" between the parse and output. set xml "\ {?xml version="1.0"?} {publication} {article} ...
... You can't. CDATA sections are only a special (some would say dubious) way, to write character data. While building the DOM tree, tDOM treats them as text...
rolf@...
Apr 21, 2004 4:18 pm
781
CDATA is required since the fields can contain script code and other HTML tags that shouldn't get parsed. As you pointed out, tDOM does the right thing here by...
[You replied with three mails with similar text. I may quote parts out of any of that 3 mails] ... This isn't a valid argument, that CDATA is 'required'. If...
rolf@...
Apr 22, 2004 1:29 pm
783
No you are absolutely correct on all points. It definitly doesn't make sense to "hack" tDOM to account for poor coding practices... Thanks for the pointers, I...
when there is parsing error I wished the errorInfo would be a bit more informative. for example: dom parse <test><a><b><c></c></a></test> error "mismatched...
... Well, sure. I agree, that msxml error msg is better. Unfortunately there isn't much we can do here. In case of well-formedness errors like this, the 'core'...
rolf@...
Apr 29, 2004 3:26 pm
786
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...