Forum OpenACS Q&A: Response to fun with XML... I need help

Collapse
Posted by Jun Yamog on
Hi Dave, I use ns_xml 1.4. Well anyway I do get the child node. I even try to write the node name and it seems fine. I can even get to the <p> tags. My main problem is that the inside the content node I have XHTML or HTML stuff. I need a way to get those content and tags out. Is there a way to escape tags? Getting the content from a node strips out all tags, but I do get the content. I would like is to get the content and tags under a node. Is there a way to an API to copy all nodes and children nodes to a new XML doc? That way after copying I will just do a render doc. I dont want to create one yet. Thanks. Jun