RE: [PHP] using DOM functions with embedded html / encoding
| From: | Weber Sites LTD | Date: | Tue, 21 Mar 2006 19:27:29 +0000 |
| Subject: | RE: [PHP] using DOM functions with embedded html / encoding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232348@lists.php.net to get a copy of this message | ||
Not sure how to directly help but have a look at these code examples that
Use createElement, maybe you can get the idea from that.
http://www.weberdev.com/AdvancedSearch.php?example=createElement&searchtype=
example&sort=submit_date+desc&search=&category=&date=&page=1&secondary=&Sear
chIn=All+Categories&PHPFunctions=on&Articles=on
Good luck :)
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples : http://www.weberdev.com
PHP & MySQL Forums : http://www.weberforums.com
SEO Data Monitor http://seo.weberdev.com
-----Original Message-----
From: jonathan [mailto:news_php@arclocal.com]
Sent: Tuesday, March 21, 2006 9:12 PM
To: php-general@lists.php.net
Subject: [PHP] using DOM functions with embedded html / encoding
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
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php