Re[2]: Am I a doofus?
Brought to you by:
bs_php,
nigelswinson
From: Daniel L. <inf...@aj...> - 2002-08-06 13:57:51
|
Bonjour Nigel, Le mardi 6 ao=FBt 2002 =E0 02:19:52, vous =E9criviez : NS> $myroot =3D $myxpath->appendChild("","<superroot/>"); NS> However I just tried this and it didn't work, because the super root = hadn't NS> been setup, so this is a bug for which I thank you kindly for reporti= ng :o) NS> I've just implemented a change so that you can do this now. You'll f= ind it NS> in CVS if you can't wait for the next release, or you would like to d= o some NS> testing :o) I need the same feature so I try the CVS version 1.111, but without succe= ss. I try : $xml =3D new XPath(); $rootPath =3D $xml->appendChild( "", "<xml/>"); And I get : XPath error in XPath.class.php:1586 In importFromString(): XML error in given string on line 1 column 0. Reason:syntax error XPath error in XPath.class.php:5155 XPath error in XPath.class.php:1586. Message: In importFromString(): XML error in given string on line 1 column 0. Reason:syntax error --=20 Cordialement, Daniel mailto:inf...@aj... ---------- Support-Assistance PHP/MySql de =ABInternet Pour Tous=BB=20 http://www.i-p-t.com.fr/ :::XML/XSLT - Sablotron::: -- |