note 96411 added to function.xml-parse
| From: | LWC at osu1 dot php dot net | Date: | Thu, 25 Feb 2010 20:53:40 +0000 |
| Subject: | note 96411 added to function.xml-parse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166380@lists.php.net to get a copy of this message | ||
1 correction to vladimir_wof_nikolaich_dot_ru's function:
replace
case 'complete':
with
case 'cdata':
case 'complete':
to add support for the word "line" in
<parent>A <b>bold</b> line</parent>
Alas, I haven't found a way to make the function ignore closing tags like
<parent>A <self/> closing tag</parent>
It would also be best if it didn't treat HTML tags like XML ones.
----
Server IP: 69.147.83.197
Probable Submitter: 79.182.199.230
----
Manual Page -- http://www.php.net/manual/en/function.xml-parse.php
Edit -- https://master.php.net/note/edit/96411
Del: integrated -- https://master.php.net/note/delete/96411/integrated
Del: useless -- https://master.php.net/note/delete/96411/useless
Del: bad code -- https://master.php.net/note/delete/96411/bad+code
Del: spam -- https://master.php.net/note/delete/96411/spam
Del: non-english -- https://master.php.net/note/delete/96411/non-english
Del: in docs -- https://master.php.net/note/delete/96411/in+docs
Del: other reasons-- https://master.php.net/note/delete/96411
Reject -- https://master.php.net/note/reject/96411
Search -- https://master.php.net/manage/user-notes.php