note 63264 added to ref.xsl
| From: | php-general at lists dot php dot net | Date: | Fri, 17 Mar 2006 17:14:53 +0000 |
| Subject: | note 63264 added to ref.xsl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105989@lists.php.net to get a copy of this message | ||
In response to appletalk at gmail dot com
<snip>
As many of you may have noticed, DOM parser gives errors if the ' ' entity is
present. The E_WARN message looks like:
Warning: DOMDocument::load() [function.load]: Entity 'nbsp' not defined in ...
There're many ways to solve this:
.....
b) Defining
At the top of the document, after the <?xml?> definition, add:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " " >
]>
.......</snip>
Just wanted to let people know that option b does NOT work. I'm not sure why this isn't
implemented correctly, but it isn't, so don't waste your time. It's unfortunate the
DOMXSL transform is so much less capable than the old xslt function.
----
Server IP: 64.71.164.2
Probable Submitter: 69.203.208.7
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.xsl.php
Edit -- http://master.php.net/note/edit/63264
Del: integrated -- http://master.php.net/note/delete/63264/integrated
Del: useless -- http://master.php.net/note/delete/63264/useless
Del: bad code -- http://master.php.net/note/delete/63264/bad+code
Del: spam -- http://master.php.net/note/delete/63264/spam
Del: non-english -- http://master.php.net/note/delete/63264/non-english
Del: in docs -- http://master.php.net/note/delete/63264/in+docs
Del: other reasons-- http://master.php.net/note/delete/63264
Reject -- http://master.php.net/note/reject/63264
Search -- http://master.php.net/manage/user-notes.php