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
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
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
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";);
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
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_
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
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 \
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
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
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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\
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
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
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
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
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
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
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
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
"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
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
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
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
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
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
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
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
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
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
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
46 matches
Mail list logo