using DOM functions with embedded html / encoding
| From: | jonathan | Date: | Tue, 21 Mar 2006 19:12:18 +0000 |
| Subject: | using DOM functions with embedded html / encoding | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232341@lists.php.net to get a copy of this message | ||
I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions to create the xml file.
Some of the text fields now have well-formed html embedded in them. When I do a $dom->createElement('item_name', $clean_slot), it encodes the values to <b> for <b>. How would I suppress this behavior. It doesn't look like there is any other variable I can pass to createElement or to appendChild.
thanks,
jonathan