Re: [PHP] DOMXML Warning

2008-02-13 Thread Richard Lynch
On Wed, February 13, 2008 1:51 am, Miguel J. Jiménez wrote: > Hi, after enabling error reporting with E_ALL I am having this strange > warning while loading a XML: > > Warning: DOMDocument::load() [function.DOMDocument-load]: Extra > content > at the end of the document in [...] > > The code I use

Re: [PHP] DOMXML Warning

2008-02-13 Thread Andrew Ballard
On Feb 13, 2008 1:20 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Feb 13, 2008 2:51 AM, Miguel J. Jiménez > <[EMAIL PROTECTED]> wrote: > > Hi, after enabling error reporting with E_ALL I am having this strange > > warning while loading a XML: > > > > Warning: DOMDocument::load() [function.DOMDo

Re: [PHP] DOMXML Warning

2008-02-13 Thread Daniel Brown
On Feb 13, 2008 2:51 AM, Miguel J. Jiménez <[EMAIL PROTECTED]> wrote: > Hi, after enabling error reporting with E_ALL I am having this strange > warning while loading a XML: > > Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content > at the end of the document in [...] Is the

Re: [PHP] domxml problem

2005-05-16 Thread Petar Nedyalkov
On Monday 16 May 2005 09:52, Georgi Ivanov wrote: > On Friday 13 May 2005 20:03, Brian V Bonini wrote: > > On Fri, 2005-05-13 at 10:31, Georgi Ivanov wrote: > > > But it gives me error on this line : > > > $DomDocument = domxml_open_file($file); > > > > What's the error? > > The error is : > "Call

Re: [PHP] domxml problem

2005-05-16 Thread Georgi Ivanov
On Friday 13 May 2005 20:03, Brian V Bonini wrote: > On Fri, 2005-05-13 at 10:31, Georgi Ivanov wrote: > > But it gives me error on this line : > > $DomDocument = domxml_open_file($file); > > What's the error? The error is : "Call to undefined function" I tried with the new function ( domxml_open_

Re: [PHP] domxml problem

2005-05-13 Thread Brian V Bonini
On Fri, 2005-05-13 at 10:31, Georgi Ivanov wrote: > But it gives me error on this line : > $DomDocument = domxml_open_file($file); What's the error? Try: $dom = dom_xml_file($file); -- s/:-[(/]/:-)/g BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: On Fri, 22 Oct 2004 10:44:48 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Christian Stocker wrote: On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Hello, I have a question regarding the html_dump_mem function. I build an xml tree wit

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread Christian Stocker
On Fri, 22 Oct 2004 10:44:48 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: > Christian Stocker wrote: > > On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua > > <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >>I have a question regarding the html_dump_mem function. I build an xml > >>tree w

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: > On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua > <[EMAIL PROTECTED]> wrote: > >> Hello, >> I have a question regarding the html_dump_mem function. I build an xml >> tree with HTML tags. When I dump it, I expect that my brother interpret >> HTML tag procduced by th

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Hello, I have a question regarding the html_dump_mem function. I build an xml tree with HTML tags. When I dump it, I expect that my brother interpret HTML tag procduced by the dump. But the du

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread Christian Stocker
On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: > Hello, > I have a question regarding the html_dump_mem function. I build an xml > tree with HTML tags. When I dump it, I expect that my brother interpret > HTML tag procduced by the dump. But the dump produce only

Re: [PHP] DOMXML usage

2003-07-03 Thread Tom Rogers
Hi, Friday, July 4, 2003, 4:54:06 AM, you wrote: MG> I'm attempting to create a generic XML writer with the DOMXML functions MG> which takes as its input the array structure generated by gdemartiti on this MG> function page: MG> http://us3.php.net/manual/en/function.xml-parse-into-struct.php MG>

Re: [PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
On Fri, 14 Mar 2003 11:37:05 +1000, Tom Rogers wrote: > I think that should be 1,0 You're right, sorry I've made an error writing this post ("." on the numeric pad output "," in the news client since I'm french) but the script was tested with the correct value ('1.0' with a dot). So ... my

Re: [PHP] DomXML and Zend Engine 2

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 10:36:50 AM, you wrote: ED> Hi, ED> I'm testing the last php5/ze2 snapshot for a future PHP application. I've ED> a two line script[1] with domxml wich fail with ZE2 but succeed with ZE1. ED> I know that ZE2 is in pre-alpha cycle (and domxml on a experimental state) E

Re: [PHP] domxml and setting the DOCTYPE

2002-09-24 Thread Tom Rogers
Hi, Tuesday, September 24, 2002, 7:22:24 PM, you wrote: RB> Hi, RB> I'm generating XML files with the domxml functions. Everything works fine, RB> but I can't set the . RB> I tried to add a textnode, but <>" are translate in < > " :( RB> Thanks for your help. RB> Raph RB> PS:Having some

Re: [PHP] DOMXML question

2002-05-17 Thread Thalis A. Kalfigopoulos
On Fri, 17 May 2002, peter tatischev wrote: > What is the type of array returned by child_nodes()? > I have an XML doc parsed into a DOM structure by > $docnode = domxml_open_file("blah") > > then I get root by > $root = $docnode->document_element(); > then I get the first node > $f_child = $ro

Re: [PHP] DOMXML in 4.2.0 problems

2002-05-15 Thread Danny Shepherd
Well it works just fine for me :) PHP 4.2.0 / Apache 2.0.36 / FreeBSD 4.5 DOM/XML enabled libxml Version 2.4.21 HTML Support enabled XPath Support enabled XPointer Support enabled As you can see, I'm using a later version of libxml than you are - maybe that's the problem. I am also forced to us

Re: [PHP] DOMXML in 4.2.0 problems

2002-05-10 Thread Thalis A. Kalfigopoulos
On Fri, 10 May 2002, Meir Kriheli wrote: > On Friday 10 May 2002 03:05, Thalis A. Kalfigopoulos wrote: > > I'm trying to get DOMXML to work with PHP4.2.0. I've compiled with > > --with-dom and phpinfo() says it's there: DOM/XML enabled > > libxml Version 2.4.18 > > HTML Support enabled > > XPath

Re: [PHP] domxml

2001-10-18 Thread Arpad Tamas
On Wednesday 17 October 2001 19:47, php wrote: > Hello, > > Warning: Unknown list entry type in request shutdown (0) in > Unknown on line 0 > appears on the bottom of every script I call that uses domxml. > I have no idea was causes it... Any tips? try to use (and compile php with) another versio