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

[PHP] DOMXML Warning

2008-02-12 Thread Miguel J. Jiménez
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 is: $dom = new DOMDocument(); $dom->load("http://example.com/file.xml";);

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

[PHP] domxml problem

2005-05-13 Thread Georgi Ivanov
Hello, I compiled PHP 5 with following ./configure line ./configure \ --prefix=/usr/local/php5 \ --with-apxs2=/usr/sbin/apxs2-prefork \ --with-config-file-path=/etc/php5 \ --enable-mbstring \ --enable-mbregex \ --with-mysql \ --with-gd \

[PHP] DOMXML for Release 4.1.2

2005-05-11 Thread Richard Williams
Hi My ISP is still running release 4.1.2 Where can I find documention for the DOMXML functions for this release? Regards Richard Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
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 a text with my html tag. Does someone knows how to do HTML interpretation with using D

[PHP] DOMXML API support needed in PHP5

2004-07-23 Thread Scrumpy
When I had decided to redevelop my website using PHP4's XSLT functions as the templating system (as opposed to Smarty, phplib etc.), I looked at PHP4's two alternatives: 1. XML (Expat) + XSL (Sablotron) 2. DOMXML (libxml2 & libxslt) At the time there were early signs that PHP5's XML/XSLT suppor

[PHP] DOMXML support should be added to PHP5

2004-07-23 Thread Scrumpy
When I had decided to redevelop my website using PHP4's XSLT functions as the templating system (as opposed to Smarty, phplib etc.), I looked at PHP4's two alternatives: 1. XML (Expat) + XSL (Sablotron) 2. DOMXML (libxml2 & libxslt) At the time there were early signs that PHP5's XML/XSLT suppor

[PHP] DOMXML support should be added to PHP5

2004-07-23 Thread Scrumpy
When I had decided to redevelop my website using PHP4's XSLT functions as the templating system (as opposed to Smarty, phplib etc.), I looked at PHP4's two alternatives: 1. XML (Expat) + XSL (Sablotron) 2. DOMXML (libxml2 & libxslt) At the time there were early signs that PHP5's XML/XSLT suppor

[PHP] DOMXML API support needed in PHP5

2004-07-23 Thread Scrumpy
When I had decided to redevelop my website using PHP4's XSLT functions as the templating system (as opposed to Smarty, phplib etc.), I looked at PHP4's two alternatives: 1. XML (Expat) + XSL (Sablotron) 2. DOMXML (libxml2 & libxslt) At the time there were early signs that PHP5's XML/XSLT suppor

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>

[PHP] DOMXML usage

2003-07-03 Thread Matt Grimm
I'm attempting to create a generic XML writer with the DOMXML functions which takes as its input the array structure generated by gdemartiti on this function page: http://us3.php.net/manual/en/function.xml-parse-into-struct.php Actually, it's the updated version done by [EMAIL PROTECTED], here: ht

Re[2]: [PHP] DomXML and Zend Engine 2

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 11:54:00 AM, you wrote: ED> On Fri, 14 Mar 2003 11:37:05 +1000, Tom Rogers wrote: >> I think that should be > 1,0 ED> You're right, sorry ED> I've made an error writing this post ("." on the numeric pad output "," in ED> the news client since I'm french) but the

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

[PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
Hi, I'm testing the last php5/ze2 snapshot for a future PHP application. I've a two line script[1] with domxml wich fail with ZE2 but succeed with ZE1. I know that ZE2 is in pre-alpha cycle (and domxml on a experimental state) and I'm not crying to have something functionnal but I've some questio

[PHP] domxml memberfunction not dom compliant??

2003-01-29 Thread Øyvind Vestavik
I might be wrong here but, here it goes: I'm trying to make a recursive function that traverses a dom tree. (The purpuse is eventually to insert it into a relational database using the "edge table approach") When doing so I make extensive use of "array DomNode->child_nodes ( void)" The returned

[PHP] Domxml and problem

2002-12-08 Thread Winthux
I have the newest foxserv on my comp. When i'm trying to open a xml document with function $doc = domxml_open_file("test.xml"); It appears an error like this: Warning: warning: in C:\FoxServ\www\nTrophy_usr_auth\nowy.php on line 3 Warning: failed to load external entity "menu.xml" in C:\FoxServ\

[PHP] domxml?

2002-11-30 Thread Devin
I am trying to compile PHP 4.3RC2 and enable the domxml library but when I compile PHP it doesn't seem to work? ./configure --with-xml --with-domxml Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] domxml and setting the DOCTYPE

2002-09-24 Thread Raphael Bauduin
Hi, I'm generating XML files with the domxml functions. Everything works fine, but I can't set the . I tried to add a textnode, but <>" are translate in < > " :( Thanks for your help. Raph PS:Having some troubles to send on the ML, I send this through the news server (excuse if you get

[PHP] Domxml: coping with UTF-16

2002-09-04 Thread Gwyn
Hi - I've built a web-based XML editor using PHP, so that clients can edit the sites themselves. The site HTML is generated dynamically via Sablotron. The problem is the users are copying-and-pasting from MS Word, and putting things like smart quotes and greek characters (one site is about ma

[PHP] DOMXML...

2002-07-31 Thread Brian McGarvie
I have a problem with DOMXML... I installed it and it is showing up in a phpinfo() script... However when I try a simple example it gives me an error such as: Warning: failed to load external entity "employees.xml" in C:\Inetpub\wwweloanshop\test\xml.php on line 36 Any hints? [ Brian M McGarv

[PHP] domxml

2002-06-16 Thread Douglas
Hi, I have a web page with a form. I want the user to be able to use the £ symbol in a text field on the form. I then pass the value of the text field(the £ symbol) to a DOMXML function which creates a XML string which is transformed into XHTML using the XSLT functions. I have a meta tag defi

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

[PHP] DOMXML question

2002-05-17 Thread peter tatischev
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 = $root->first_child(); and then I want to get an array of all the

Re: [PHP] DOMXML in 4.2.0 problems

2002-05-15 Thread Danny Shepherd
"Thalis A. Kalfigopoulos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 1:05 AM Subject: [PHP] DOMXML in 4.2.0 problems > I'm trying to get DOMXML to work with PHP4.2.0. I've compiled with --with-dom and phpinfo() says it's there: > D

[PHP] DOMXML [revisited]

2002-05-10 Thread Thalis A. Kalfigopoulos
Hi again and sorry to pose same question, but I'm about to pull out my hair here. There were some DOMXML questions in the past 24h but none replied to. Two of us till now have had the same problem: compiled DOM just fine and see it is there with phpinfo(); but cannot use its functions[1]. Can an

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

[PHP] DOMXML in 4.2.0 problems

2002-05-09 Thread Thalis A. Kalfigopoulos
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 Support enabled XPointer Support enabled The following program though doesn't seem to work: $xmlstring='a valid xml docum

[PHP] DOMXML......aaaahhhhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!!

2002-05-09 Thread Jarrad Kabral
Im tearing my hair out over how buggy DOMXML is! Im trying to get my Hosting provider to update to PHP 4.2 cause I hear alot of memory leaks for DOMXML are dealt with in this versioncan anyone who has 4.2 confirm or deny this?? Thanking you all in advance Jarrad Kabral -- PHP General

[PHP] Re: Question and PHP DOMXML and Apache

2002-04-23 Thread Christian Stocker
In <[EMAIL PROTECTED]>, Sebastian A. wrote: > Have the new DOM XML functions been included in the latest version of > PHP (4.2) when I try to use one of the new functions, such as > domxml_open_file() I get an error message saying I am calling and > undefined function. Has anyone successfully use

[PHP] Question and PHP DOMXML and Apache

2002-04-23 Thread Sebastian A.
Have the new DOM XML functions been included in the latest version of PHP (4.2) when I try to use one of the new functions, such as domxml_open_file() I get an error message saying I am calling and undefined function. Has anyone successfully used these new functions with PHP 4.2? My second questio

[PHP] DOMXML and encodings (php4.1.2, libxml2.4.16)

2002-03-24 Thread Lucky
Hello all, I have a little problem with encodings with libxml2 resp. domxml in php. In our site we're storing articles as XML, ISO-8859-1 encoded (indicated in xml-header). Libxml2 is doing all the internal processing in UTF-8, so the article gets translated to UTF-8. But when I do an xmltree() o

[PHP] PHP-DOMxml

2002-02-01 Thread Sandeep Murphy
Hi all, I hv spent too much time trying to solve this by myself and hope someone out there can help me out.. I am trying to use the DOM xml parser to parse my xml data.. The problem is that the parser reads only the parent and child elements but when the child nodes repeat themselves inside of c

[PHP] domxml: getting a node's XML (using xmlDumpNode)

2002-01-21 Thread Thomas Gagne
Sure, documents can call dumpmem(), but there's no way to get the XML of a node. Until now! Not knowing at all what I was doing, I copied code from the function unlink_node and modified it to call xmlDumpNode(). It works for me, though I expect there's probably a memory leak in it since I don't

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