Andrew Clarke wrote:
I'm having some problems using PHP5 on Windows 2000 Server, running IIS 5.
When trying to access a document from a "xmldoc()" function the system
responds with the following,
*Fatal error*: Call to undefined function xmldoc() in *"XML Document"* on
line *Number*
**
How do I
Andrew Kachalo wrote:
Hi!
...
Fatal error: Call to undefined function domxml_open_file() in
/Users/Andrew/Sites/portfolio/index.php on line 61
This is because PHP5 now has an object-oriented approach. You use
DOMDocument's and/or SimpleXML to read your XML files. Also in the
newest vers
Martin Geisler wrote:
I don't remember any more where I found this, but with
formatOutput = true;
?>
you get what you ask for: formatted output.
Excellent, that did the trick!
Thanks,
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] (Dan Phiffer) writes:
> I'm using PHP 5 these days, so I guess I'm looking for some way to
> tell a DomDocument to prettify its save() output.
I don't remember any more where I found this, but with
formatOutput = true;
?>
you get what you ask for: formatted output.
--
Martin
way to transform xlm data from variable not open
xml file with using DOMXML.
tassos
-Original Message-
From: Lucian COZMA [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: DOM XML and php
True, but it does much more than that.
Hi,
I agree but I cannot find a way to transform xlm data from variable not open
xml file with using DOMXML.
tassos
-Original Message-
From: Lucian COZMA [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: DOM XML and php
True
ide functions to create XML docs from the
beginning and manipulate xml data like add or remove xml elements.
I hope to help you.
tassos
-Original Message-
From: Lucian COZMA [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: DOM XML
elements.
I hope to help you.
tassos
-Original Message-
From: Lucian COZMA [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: DOM XML and php
I have a question please (I'm trying to clarify something for me): Why do
you pr
CTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks I use this code and it works.
>
> tassos
>
>
> -Original Message-
> From: Lucian COZMA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 4:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re
Thanks I use this code and it works.
tassos
-Original Message-
From: Lucian COZMA [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 4:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: DOM XML and php
It should look something like (pretty much extracted from manual): lalala
ocess($xp, $xml_string, 'myxsl.xsl');
> >echo $result_xsl;
> >xslt_free($xp);
> >
> > ?>
> >
> > Please advise
> >
> > Regards
> >
> > tassos
> >
> > -Original Message-
> > From: Lucian COZMA [mai
_string, 'myxsl.xsl');
>echo $result_xsl;
>xslt_free($xp);
>
> ?>
>
> Please advise
>
> Regards
>
> tassos
>
> -Original Message-
> From: Lucian COZMA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 3:20 PM
> To: [E
t;$result_xsl = xslt_process($xp, $xml_string, 'myxsl.xsl');
>echo $result_xsl;
>xslt_free($xp);
>
> ?>
>
> Please advise
>
> Regards
>
> tassos
>
> -----Original Message-
> From: Lucian COZMA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March
:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: DOM XML and php
blabalabalab';
if(!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\n";
exit;
}
// The root domdocument node
$root = $dom->document_element();
///Dump the content back to string
var_d
blabalabalab';
if(!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\n";
exit;
}
// The root domdocument node
$root = $dom->document_element();
///Dump the content back to string
var_dump($dom->dump_mem());
?>
Read the manual in the DOM XML functions section.
Regards,
L
>I am planning to use PHP to develop some scripts that will need to
>create and manipulate html pages. One of the things that will be
>created is a DOM tree of the html.
>
>After reading the manual I've found that php supports the event-driven
>and dom xml, but with the latter tagged as EXPERI
I'm assuming it's that stray dollar sign you have in front of domxml_root.
J
Sebastian A. wrote:
> Hello,
>
> I have been recently doing experiments with the DOM XML function and I am
> (not surprisingly) having some problems with it. When I try to run the
> code below, I get an error saying
In <[EMAIL PROTECTED]>, Yasuo Ohgaki wrote:
> Daniele Baroncelli wrote:
>
>> Hello,
>>
>> I would like to restyle one big site in XML and I would like some brief
>> straight info/suggestions.
>>
>> I am definitely interested in DOM XML, but as far as I can understand,
>> the module is still ex
Daniele Baroncelli wrote:
> Hello,
>
> I would like to restyle one big site in XML and I would like some brief
> straight info/suggestions.
>
> I am definitely interested in DOM XML, but as far as I can understand, the
> module is still experimental and there to main risks:
> - The module is no
19 matches
Mail list logo