change node contentType
I've got xml nodes from the dom object and i'm trying to add them to my document dom object however it's not picking up the tags. I'm pretty sure it's due the their content type being text/xml instead of test/html. Without xsl is there some easy way to to change their contentType to text/html. I alerted the getter method of contentType and it was empty (meaning test/xml by default), but i can't modify it with that.
basically I read in some xml/html from a file and want to add a few of it's nodes to my document (but since the read in data is xml the html tags aren't rendered properly).
Any idea of how to change the contentType of a node?