[PHP] DOM XML : set_attribute()

2006-02-19 Thread Jils Abhilash
Hi, I am working with PHP 4.3 on windows. I am using PHP DOM functions to update the XML file. When I try to set the attribute of a particular node, the subsequent get returns the set value, but it doesn't reflect in the memory structure. echo "###",$build_node->get_attribute('path'); => this r

[PHP] DOM/XML Query

2006-02-06 Thread Andrew Clarke
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 fix this problem? Is t

Re: [PHP] DOM XML compatible PHP4 & PHP5

2005-09-13 Thread Stephen Leaf
On Monday 12 September 2005 02:08 pm, Florent Monnier wrote: > Hi, > > Is there a way to make dom xml applications compatible PHP4 and PHP5? > > Thanks You can use the PHP_VERSION predefined constant or the function_exists(string) http://us2.php.net/manual/en/function.function-exists.php What I

[PHP] DOM XML compatible PHP4 & PHP5

2005-09-12 Thread Florent Monnier
Hi, Is there a way to make dom xml applications compatible PHP4 and PHP5? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOM XML issue

2005-06-28 Thread Andrew Kachalo
Hi! I have installed PHP 5.0.4 on MacOS X 10.3 (Panther). Everything works fine exept DOM XML parser. After using "phpinfo" it shows (dom section): dom DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.5.4 HTML Support enabled XPath Support enabled XPointer Support enabled Schema

Re: [PHP] DOM XML/XSL questions

2004-10-27 Thread Dusty Bin
Christian Stocker wrote: Use $dom->createProcessingInstruction($target, $data) ; and then append this to the document. that could maybe work see http://ch.php.net/manual/en/function.dom-domdocument-createprocessinginstruction.php for more details. Thank you Christian, the following code worked fi

Re: [PHP] DOM XML/XSL questions

2004-10-27 Thread Christian Stocker
On Wed, 27 Oct 2004 13:52:13 +0100, Dusty Bin <[EMAIL PROTECTED]> wrote: > I have a requirement to create an XML file which looks approximately like: > > > > >Item Text >... > > > The file needs to be formatted. > > I built a dom using the Dom extension, creating a document, adding >

[PHP] DOM XML/XSL questions

2004-10-27 Thread Dusty Bin
I have a requirement to create an XML file which looks approximately like: Item Text ... The file needs to be formatted. I built a dom using the Dom extension, creating a document, adding nodes, and I got a nicely formatted XML file from $dom->saveXML(); The only problem I had, was that I

[PHP] DOM XML output whitespace

2004-05-23 Thread Dan Phiffer
Hello, Is there a way to get DOM XML to insert human-friendly whitespace between elements created programmatically? 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. Thanks! -Dan -- PHP General Mailing List (http://www.php.net/)

[PHP] DOM XML and php

2004-03-11 Thread Tassos T
Hello, I face a problem. I have a php script and I send a xml request to a server. After I receive xml data but I have this data to an php string variable. How to create a xml dom with out to write a xml file ? I want to use a xslt to tranform that xml data. Any idea ? Thanks tassos -- PHP

Re: [PHP] DOM XML difference between PHP versions 4.2.1 and 4.3.3

2003-10-24 Thread Tom Rogers
Hi, Friday, October 24, 2003, 9:37:07 PM, you wrote: S> Hello S> I wonder if anyone can help me with this problem or suggest an alternative S> strategy. S> I have two PHP boxes, one windows box running PHP version 4.2.1 and DOM XML S> version 2.4.9, and the other one a FreeBSD box running PHP ve

[PHP] DOM XML difference between PHP versions 4.2.1 and 4.3.3

2003-10-24 Thread Simon
Hello I wonder if anyone can help me with this problem or suggest an alternative strategy. I have two PHP boxes, one windows box running PHP version 4.2.1 and DOM XML version 2.4.9, and the other one a FreeBSD box running PHP version 4.3.3 and DOM XML version 2.5.11. What I need to do is to join

[PHP] Re: PHP DOM XML Function

2003-03-14 Thread Alexandru COSTIN
lexandru COSTIN Chief Operating Officer http://www.interakt.ro/ +4021 411 2610 "Fgôk ÞôündÉö" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > do you have any idea about PHP DOM XML functions? > when will PHP DOM XML functions be stable? > > > Fatih Üstü

[PHP] PHP DOM XML Function

2003-03-14 Thread Fatih Üstündağ
do you have any idea about PHP DOM XML functions? when will PHP DOM XML functions be stable? Fatih Üstündağ Yöre Elektronik Yayımcılık A.Ş. 0 212 234 00 90 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOM XML : experimental ?

2002-07-14 Thread Mario de Mello Bittencourt Neto
Hi, 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 EXPERIM

[PHP] DOM XML

2002-04-25 Thread Sebastian A.
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 I am trying to use and endefined function. To me it seems that the DOM XML extension is working fine, because I

[PHP] DOM XML Issues with 4.1.0?

2001-12-16 Thread Mark
Hello. I developed a pretty cool website whose content is entirely specified in XML, and use PHP DOM to convert it to HTML (XSL would be a bit painful). Now, with PHP 4.0.6 and libxml2-2.4.7, everything worked fine, except that there was a huge memory leak somewhere in the PHP o

[PHP] DOM XML?

2001-12-14 Thread Daniele Baroncelli
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 not completely stable - The functions are lik

[PHP] DOM XML module

2001-08-16 Thread Anders Östling
Hi I need to use the DOMXML functions on a PHP 4.0.4 (Mandrake 8.0) page, but the module is not there by default. Having downloaded the sources and tried to rebuild from scratch, I get a bunch of new dependency problems. Looks like building a full featured PHP is not that easy,,, So my questi