Hi all,

I'm trying to transform some HTML I have stored in a CouchDB document
to another format. It's actually pretty simple to do, really just
looping over the DOM. Normally I'd start out with something like:

var div = document.createElement("div");
div.innerHTML = [...]

...and be ready to go. Unfortunately it looks like "document" is
undefined in the show function. Am I doing something stupid here, is
there a better way, or does anyone have other suggestions?

Thanks,
Greg Johnston

Reply via email to