[PHP] Re: DOM/XML Query

2006-02-06 Thread Barry
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

[PHP] Re: DOM XML issue

2005-06-28 Thread Jason Barnett
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

[PHP] Re: DOM XML output whitespace

2004-05-25 Thread Dan Phiffer
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

[PHP] Re: DOM XML output whitespace

2004-05-24 Thread Martin Geisler
[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

Re: [PHP] Re: DOM XML and php

2004-03-15 Thread Lucian COZMA
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.

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
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

Re: [PHP] Re: DOM XML and php

2004-03-12 Thread Lucian COZMA
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

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
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

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
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

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
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

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
ocess($xp, $xml_string, 'myxsl.xsl'); > >echo $result_xsl; > >xslt_free($xp); > > > > ?> > > > > Please advise > > > > Regards > > > > tassos > > > > -Original Message- > > From: Lucian COZMA [mai

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
_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

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
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

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
: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

[PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
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

[PHP] Re: DOM XML : experimental ?

2002-07-15 Thread Richard Lynch
>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

[PHP] Re: DOM XML

2002-04-25 Thread J Smith
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

[PHP] Re: DOM XML?

2002-01-04 Thread Jeff Warrington
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

[PHP] Re: DOM XML?

2001-12-14 Thread Yasuo Ohgaki
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