|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-21 21:26 UTC] jani@php.net
-Package: Feature/Change Request
+Package: DOM XML related
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 01:00:01 2025 UTC |
Description: ------------ DOMDocumentFragment->appendXML() creates elements in default namespace (if they don't have namespace set explictly, ofcourse). However elements in XML fragments may just rely on namespace being set on parent element and don't define their own namespace, so it would be very useful it if was possible to specify implied namespace, eg. $fragment->appendXML('<p>test</p>',"http://www.w3.org/1999/xhtml"); should be equivalent to $fragment->appendXML('<p xmlns="http://www.w3.org/1999/xhtml">test</p>');