[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
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
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
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
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
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
6 matches
Mail list logo