Re: [PHP] Re: DOMXML support should be added to PHP5

2004-07-25 Thread Scrumpy
[EMAIL PROTECTED] (Christian Stocker) wrote in news:[EMAIL PROTECTED]: >> Looking at the two approaches, I preferred using DOMXML and as it was >> based on libxml2 & libxslt it seemed to be the better option. > > I don't get that. The new DOM and XSL extension is still based on > libxml2 and li

Re: [PHP] Re: DOMXML support should be added to PHP5

2004-07-25 Thread Christian Stocker
On 25 Jul 2004 12:34:15 -, Scrumpy <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Jason Barnett) wrote in > news:[EMAIL PROTECTED]: > > > Well you are right that if > > you used the old DOMXML functions in PHP4 that there is no clean way > > to move that code forward without rewriting / suppo

Re: [PHP] Re: domxml memberfunction not dom compliant??

2003-01-30 Thread Øyvind Vestavik
Thanks for your reply Stefan. I hadn't really read the manual, had just been working with DOM level 2 in java before, and the fact that attributes are not children of elements, puzzled me. But after reading the DOM level 2 spesification, it may seem that you are right. To me, the fact that attri

Re: [PHP] Re: domxml and setting the DOCTYPE

2002-09-24 Thread Raphael Bauduin
thanks for your answer. I hoped there was a function to specify the doctype of the document generated. Apparently there isn't. It's as sad thing as I have to create another script just to add the doctype. Can someone just confirm me it's not possible with php to do what I want? I find it stra

Re: [PHP] Re: domxml and setting the DOCTYPE

2002-09-24 Thread Marek Kilimajer
Don't know much about DOM, but it seems you can use dump_mem() to dump the xml into a string, and then replace your first line Raphael Bauduin wrote: >Please, don't tell me I can't set the doctype with php!? >Will I have to user a 3 liner in perl to set the doctype? :( > >Raph > > >Raphael Baud

Re: [PHP] Re: DOMXML...

2002-07-31 Thread Dan Hardiker
Check that the file employees.xml exists, and try providing it with an absolute reference rather than relative (eg: "c:\\xmlfiles\\employees.xml"). Also check that the xml file renders ok in Internet Explorer. > the line that gives the error... > > Warning: failed to load external entity "employ