Replacing an XML element?

2005-09-20 Thread Nick Vargish
I've been trying to figure out how to do something that seems relatively simple, but it's just not coming together for me. I'm hoping someone will deign to give me a little insight here. The problem: We have XML documents that use a custom table format that was designed primarily for typesetting

Re: Replacing an XML element?

2005-09-20 Thread Max Erickson
Nick Vargish [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I've been trying to figure out how to do something that seems relatively simple, but it's just not coming together for me. I'm hoping someone will deign to give me a little insight here. The problem: We have XML documents that

Re: Replacing an XML element?

2005-09-20 Thread Nick Vargish
Max Erickson [EMAIL PROTECTED] writes: table.parentNode.replaceChild(newtable, table) I knew it had to be something simple (but not as simple as I am, apparently :^). Thanks much, Max, you've saved the rest of my day. Nick -- #includestdio.h/* sigmask (sig.c) 20041028 PUBLIC DOMAIN */