hello, is there a way to change the name of an element? I would have thought that nodeName would have allowd this, but it only returns the current name. ...
... There isn't a way to change the name of an element; the nodeName method is read-only (die DOM rec calls the tag name of an node an (unmutable)...
rolf@...
May 6, 2005 1:26 pm
1076
Hello, There are many user cases where it is interesting to manipulate the dom tree easily. Current methods of manipulation make it possible but quite complex....
... Sure. Adding new nodes, removing nodes, setting or removing attributes, creating new subtrees, changing the value of text nodes etc. -- all that are tasks...
rolf@...
May 6, 2005 3:48 pm
1078
... From: tdom@yahoogroups.com [mailto:tdom@yahoogroups.com] On Behalf Of rolf@... Sent: Friday, May 06, 2005 11:50 AM To: tdom@yahoogroups.com ...
Ralf, ... an ... One case is when you try to implement a cheap XSLT in TCL and want to convert a node from one specification to a similar node in another...
... Didn't understand completely what you're trying to do from your description. Could you please provide stripped down (even pseudo-) code snipped to clarify?...
rolf@...
May 6, 2005 6:52 pm
1081
... Hmmm, I've in fact a proc in one of my applications, that does exactly this: if the given node doesn't has child nodes, then it adds a text node child with...
rolf@...
May 6, 2005 6:55 pm
1082
... From: tdom@yahoogroups.com [mailto:tdom@yahoogroups.com] On Behalf Of rolf@... Sent: Friday, May 06, 2005 2:54 PM To: tdom@yahoogroups.com ...
Ralf, As you can see from the Aamer mail, he is using a helper function to append text to a node: appendTextElement. Everybody use their helper functions...
Hello, We're running into a problem where when adding text to a textNode (via createTextNode) that has a control chars. tdom complains about 'invalid chars. In...
... And tDOM is right. That contral characters are just not allowed within an XML document. See production 2 of the XML recommendation ...
rolf@...
May 9, 2005 5:13 pm
1086
... Ah, I may have misread, what you want. If you ask for an option, which makes tDOM siliently dropping not allowed characters, then: no, there isn't such an...
rolf@...
May 9, 2005 5:38 pm
1087
... From: tdom@yahoogroups.com [mailto:tdom@yahoogroups.com] On Behalf Of rolf@... Sent: Monday, May 09, 2005 1:40 PM To: tdom@yahoogroups.com ...
Would it be possible to make 'dom setTextCheck' behavior specific to a particular doc? eg: domDocObjCmd setTextCheck 0 It seems that all the commands that 'dom...
Hi, I have several Databased XML Documents which I create and read with tDOM in my application. It works with no problem even with special chars like ä, ö,...
... You get the error message: "not well-formed (invalid token)". This isn't a validation error, this is a basic XML syntax error. I'd suspect, you've simply...
rolf@...
May 11, 2005 10:02 am
1091
... For the record: metaxmlmaster mailed me his sample data, and it turned out, that he had in fact the encoding wrong. rolf...
rolf@...
May 11, 2005 11:53 am
1092
Hi! I had a problem today where tDOM 0.8 compiled for AOLserver was panicing and causing ther server to exit. The actual error message was something like: ...
... Well, sure it would be possible. I'd even willing to agree that it may a very little bit better, than the global flag. But anyway, from my viewpoint, that...
rolf@...
May 12, 2005 12:03 pm
1094
... Yep. This is not the first time, this turned up and in the end it always turned out to be mangled string representation of tcl data. ... Well. In theory,...
rolf@...
May 12, 2005 1:07 pm
1095
... Right. But this is not because there's a broken extension. The situation is this: When AOLserver serves up a webpage with a form it tells the client...
... 'We' in this case is AOLserver or your application code? ... Sure. There could be said a lot. Your code trusts the client, that means, you trust the wrong...
rolf@...
May 13, 2005 1:04 am
1097
... Just to expand on that: a "hiccup" may include: going into an infinite loop, segfaults, bus errors, buffer overruns, and allowing a remote attacker to ...
Joe English
jenglish@...
May 13, 2005 1:38 am
1098
Hello, I hope this group message of mine finds the reader in good health and mood. I'm Anitha and this being my first post, I'll keep it short. You can find...
Hi, when I misuse setAttibute with $node setAttribute dd:anAttribute value I want an error message from tdom or that tdom creates the attribute in the correct...
... Well, tDOM is a programming tool. I'm afraid, it's not easily possible to prevent the programmer to misuse a feature. ... The method 'setAttribute' is a...
rolf@...
May 19, 2005 4:22 pm
1101
... Could you (or somebody else familiar with AOLserver) please answer this question. ... [remove, I meant] But as longer as I look into this, the more...
rolf@...
May 19, 2005 5:59 pm
1102
I'm sure I'm missing something obvious, but I'm getting the following error when I try and compile: [Macintosh:~/cvs/tDOM-0.8.0] shmooved% make binaries make:...