[PHP] Re: greek in php-xml

2003-11-14 Thread Lucian Cozma
I've encountered this problem when developing for a greek company. Do you create a html output from it ? If you do, make sure that you have meta http-equiv=Content-Type content=text/html; CHARSET=utf-8 / in the head tag of the html output. Lucian Pnp [EMAIL PROTECTED] wrote in message

[PHP] Re: greek in php-xml

2003-11-14 Thread pnp
I tried that, but still i got weird symbols. The xml, the xmlparser are set for utf-8 and so are the html pages. I used the code which is in the chm file ... Any ideas? Lucian Cozma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've encountered this problem when developing for a

[PHP] greek in php-xml

2003-11-13 Thread pnp
Hi, I want to read some texts in greek from an xml file and all i get is weird symbols.. The Xml's encoding is utf-8 and so is the xmlparser that I create. Can anyone suggest anything? Thanx in advance, Panagiotis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] XML and PHP

2003-11-06 Thread Victor Spång Arthursson
Hi! I've been looking at the XML-parserfunctions in the manual, and they seems nice enough. But I'm currently in a project where there is need to read from, write to and edit in XML-files, in some smart way. Our ISP is supporting the following: xml XML Support active XML Namespace Support

[PHP] XML DOM

2003-11-03 Thread Ian Williams
I have an XML document as a string $strXml, that looks a little like this: recordset row userid1/userid usernameBob/username passwordRover/username /row row userid2/userid usernameFred/username passwordFido/username /row /recordset

Re: [PHP] XML DOM

2003-11-03 Thread Burhan Khalid
Ian Williams wrote: I have an XML document as a string $strXml, that looks a little like this: recordset row userid1/userid usernameBob/username passwordRover/username /row row userid2/userid usernameFred/username passwordFido/username

[PHP] XML Validate

2003-11-01 Thread Cosmin
Is there a function to validate a XML document(make sure tags are closed/nested)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML Validate

2003-11-01 Thread Burhan Khalid
Cosmin wrote: Is there a function to validate a XML document(make sure tags are closed/nested)? The xml parser will throw an error if you try and pass it an invalid xml document (which you can catch and process). However, it would be best if you can validate your xml document first before

[PHP] Re: Web Service in PHP/XML

2003-10-31 Thread neko
And if you can't be arsed with SOAP, try XML-RPC, which does the job for me. Check PEAR for an implementation, or try Keith Deven's library, which is easy to use (you only deal with PHP types, and leave the XML to the library) http://keithdevens.com/software/xmlrpc/ -neko -- PHP General

[PHP] Re: Web Service in PHP/XML

2003-10-29 Thread Alexandru COSTIN
Hello, everything was finished. I have done very little with CURL, I'm not sure if there are any tutorials or anything else that I could see to get some good examples of both ends of the process anyone know of any? Anyone know of a better way? I'm also looking into XML or Java on the

Re: [PHP] [xml] character data

2003-10-28 Thread Burhan Khalid
Tom Rogers wrote: Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA I do not understand why this line does not work : DA $info[$element] = $content; DA but yet this works: echo $content; DA why? what is the trick? [ snipped ] the function characterData can be called with whitespace

Re: [PHP] Web Service in PHP/XML

2003-10-26 Thread Ray Hunter
if you want to use xml and php you can use soap and then you can incorporate other languages as well...making soap the common protocol via http. most languages support soap implementations of one sort. should be worth your time to look into soap. -- Ray On Sun, 2003-10-26 at 12:44, Dan

[PHP] XML/MySQL

2003-10-26 Thread Ian Williams
Apologies to anyone also subscribed to php.xml.dev, who will have read this earlier, but it doesn't seem as frequently read as this news group... so I am reposting... Hi I want to write a function that will take any SQL query as a parameter, and generate XML that represents the recordset. e.g.

Re: [PHP] XML/MySQL

2003-10-26 Thread Raditha Dissanayake
Hi, As Ray has also mentioned sprintf() is the best approach. I would also like to point out that you would be doing three iteration over your data so please make sure that your queries are not just 'select * from customers' but 'select * from customers where something=something' all the best

Re: [PHP] XML/MySQL

2003-10-26 Thread Evan Nemerson
If I were you I'd just join strings- it's much less resource intensive. Just make sure you're using valid XML. On Sunday 26 October 2003 12:08 pm, Ian Williams wrote: Apologies to anyone also subscribed to php.xml.dev, who will have read this earlier, but it doesn't seem as frequently read as

[PHP] Web Service in PHP/XML

2003-10-26 Thread Dan McCullough
I started writting an install script that would talk to a PHP script on one server while being used on another. So you would have http://www.someserver.com/install.php -- http://www.homesever.com/install.php via CURL without the users knowledge. The script would pass certain variables and if one

Re: [PHP] XML/MySQL

2003-10-26 Thread Ray Hunter
recordset record id=1 name=Mr Smith purchases=2/ record id=2 name=Mr Jones purchases=25/ record id=3 name=Mr Davis purchases=7/ /recordset There are two approaches I think. One is to use the XML DOM, the other is simply to join lots of strings together. What is the best

Re: [PHP] XML/MySQL

2003-10-26 Thread Burhan Khalid
Ian Williams wrote: I want to write a function that will take any SQL query as a parameter, and generate XML that represents the recordset. If you are lucky enough to be using mysql ver 4.x+ -- it has this functionality built-in, using the --xml command line option. Sample run : $ mysql -u

Re: [PHP] XML Parser

2003-10-24 Thread Ray Hunter
... Does anyone know that PHP XML Parse can work without overwriting in this case and still get two different result? Scott F. Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] While it's possible to process XML using regular expression. The whole point of using

Re: [PHP] XML Parser

2003-10-24 Thread Scott Fletcher
. HTH... -- Ray On Fri, 2003-10-24 at 07:03, Scott Fletcher wrote: I wonder about overwritting the same tag twice, like 'FirstName' and end up with one result when using hte XML parse... Does anyone know that PHP XML Parse can work without overwriting in this case and still get two

[PHP] xml in php5.0.0beta1

2003-10-12 Thread Dennis Heuer
Hello - Does the new xml api provide high level function calls (does it map the libxml api)? Regards Dennis Heuer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] xml in php5.0.0beta1

2003-10-12 Thread Bertrand Moulard
Not to sure about what I'm saying, but if I remember well my readings regarding php5 and xml, I think it implements the gnome libxml2, not libxml, which is much better. Hopefully php + xml will be less of a pain in the arse after the 5 is out. cheers .b -Original Message- From: Dennis

Re: [PHP] XML / XLS application

2003-10-11 Thread Raditha Dissanayake
Very true curt, since he the message seems to be about XSL and not about XLS (which i understand to be a ms excel file format) Orlando, head off to w3schools where you will find a map :-) Curt Zirzow wrote: * Thus wrote Ray Hunter ([EMAIL PROTECTED]): So what is your questions concerning

Re: [PHP] [xml] character data

2003-10-11 Thread Raditha Dissanayake
What Tom has to say + you should note that character data may be called more than once for each call to startElement. Tom Rogers wrote: Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA I do not understand why this line does not work : DA $info[$element] = $content; DA but yet this

[PHP] [xml] character data

2003-10-10 Thread Decapode Azur
I do not understand why this line does not work : $info[$element] = $content; but yet this works: echo $content; why? what is the trick? -- $xml_comment_file = basename($svg_file, '.svg.xml') .'.info.xml'; if (file_exists($xml_comment_file)) { $file = $xml_comment_file; $info =

[PHP] XML / XLS application

2003-10-10 Thread orlandopozo
Hello mailing list, I have a question about the use of XML / XLS application, I am introducing myself in this technology, What is useful XML / XLS for? , I need a basic example, basic application of it, because I don't find the use of it. I know that XML is used to interchange data between every

Re: [PHP] [xml] character data

2003-10-10 Thread Tom Rogers
Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA I do not understand why this line does not work : DA $info[$element] = $content; DA but yet this works: echo $content; DA why? what is the trick? DA -- DA $xml_comment_file = basename($svg_file, '.svg.xml') .'.info.xml'; DA if

[PHP] XML / XLS application

2003-10-10 Thread orlandopozo
Hello mailing list, I have a question about the use of XML / XLS application, I am introducing myself in this technology, What is useful XML / XLS for? , I need a basic example, basic application of it, because I don't find the use of it. I know that XML is used to interchange data between

Re: [PHP] XML / XLS application

2003-10-10 Thread Ray Hunter
So what is your questions concerning php? --- BigDog On Fri, 2003-10-10 at 23:28, [EMAIL PROTECTED] wrote: Hello mailing list, I have a question about the use of XML / XLS application, I am introducing myself in this technology, What is useful XML / XLS for? , I need a basic example,

Re: [PHP] XML / XLS application

2003-10-10 Thread Curt Zirzow
* Thus wrote Ray Hunter ([EMAIL PROTECTED]): So what is your questions concerning php? I think he's lost. Curt -- My PHP key is worn out PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] XML Reading, Writing

2003-09-14 Thread Jeff Fitzgerald
I need to use PHP to read, modify and write xml files. I have seen something called expat which I am having trouble installing. Is that the only way to do this? Any help greatly appeciated... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] XML Reading, Writing

2003-09-14 Thread Raditha Dissanayake
Hi, The php xml modules are installed by default with recent versions of php. This requires that you have libexpat on your machine. They are available on most linux distributions cds. If you are on windows you can dwonload from the site (forgotton the url) From the type of questions you have

Re: [PHP] XML to PHP help

2003-08-31 Thread David Otton
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote: No, what I'm looking for is a script that will download the backend.php file like you get from slashdot.org, and turn it into a readable html file that can be insterted into another php file. Make sense? Not really. Forget about the file extension

Re: [PHP] XML to PHP help

2003-08-31 Thread Raditha Dissanayake
hi Ron, There's no way you can retrieve the php on a remote server (unless of course they have a major security flow :-) ) Ron Clark wrote: Hello all, Does anyone have a script, or know where to find a working script to pull backend.php files from a site, parse them into a html type file, and

RE: [PHP] XML to PHP help

2003-08-31 Thread Ronnie Clark
] Sent: Sunday, August 31, 2003 11:20 AM To: Ron Clark; [EMAIL PROTECTED] Subject: Re: [PHP] XML to PHP help hi Ron, There's no way you can retrieve the php on a remote server (unless of course they have a major security flow :-) ) Ron Clark wrote: Hello all, Does anyone have a script, or know

[PHP] XML to PHP help

2003-08-31 Thread Ron Clark
Hello all, Does anyone have a script, or know where to find a working script to pull backend.php files from a site, parse them into a html type file, and display them correctly? I have been working on one for my site for some time now, and I cannot sem to get it right. I want to see the structure

Re: [PHP] XML to PHP help

2003-08-31 Thread David Otton
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote: No, what I'm looking for is a script that will download the backend.php file like you get from slashdot.org, and turn it into a readable html file that can be insterted into another php file. Make sense? Oh, hey, wait a sec - XML, backend... are you

Re: [PHP] XML Parser misbehaves with amp;

2003-08-19 Thread raditha dissanayake
Hello, It's not misbehaving and it's not illegal xml. It's a well documented fact that the character data function may be called more than once. The normal programming practice is to put the strings that are given to you at each call into a buffer. Then you write code in the end handler to

Re: [PHP] XML Parser misbehaves with amp;

2003-08-19 Thread Timo Boettcher
Hi Jeff, Nachricht vom Montag, 18. August 2003, 18:14:37: I've come across this frustrating behavior with the XML parser when it reads an escaped ampersand (amp;) If the xml being evaluated is: COLORSBlue, Green amp; Red/COLORS it calls the character data handler 3 times: the first

Re: [PHP] XML Parser misbehaves with amp;

2003-08-19 Thread [EMAIL PROTECTED]
Timo Boettcher wrote: Hi Jeff, Nachricht vom Montag, 18. August 2003, 18:14:37: I've come across this frustrating behavior with the XML parser when it reads an escaped ampersand (amp;) If the xml being evaluated is: COLORSBlue, Green amp; Red/COLORS The ampersand character () and

[PHP] XML Parser misbehaves with amp;

2003-08-18 Thread Jeff Bearer
I've come across this frustrating behavior with the XML parser when it reads an escaped ampersand (amp;) If the xml being evaluated is: COLORSBlue, Green amp; Red/COLORS it calls the character data handler 3 times: the first time the $data is Blue, Green the second time is and the third

Re: [PHP] XML Parser misbehaves with amp;

2003-08-18 Thread Justin Farnsworth
This is normal. You have illegal XML there, as it should be in ![CDATA[ value ]]. I have run across this, and have to clean it up with an awk script. Ampersand is a no-no. Just running xmllint on the file will tell you about the problem(s). _justin Jeff Bearer wrote: I've come across this

Re: [PHP] XML Parser misbehaves with amp;

2003-08-18 Thread Jeff Bearer
The data contains escaped ampersands - amp; Which is as far as I know the way one represents ampersands in their data. In my post below, the value of $data the second time is because it has been evaluated by the xml parser. And btw xmllint has no problems with amp; On Mon, 2003-08-18 at

[PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this-xml_parser, '$this-startElement',

RE: [PHP] XMl Parsing within PHP

2003-08-14 Thread Jay Blanchard
[snip] xml_set_element_handler($this-xml_parser, '$this-startElement', $this-endElement); xml_set_character_data_handler($this-xml_parser, $this-valueHandler); I get an error message: Warning: xml_parse(): Unable to call handler $thiss-startElement() in c:\program files\apache

[PHP] xml-rpc compile problems - 4.3.2 - libexpat

2003-08-14 Thread Garth Gillespie
Trying to compile PHP 4.3.2 with xmlrpc. The xmlrpc manual page says no external libraries are needed yet configure complains with checking whether to enable XML support... yes checking external libexpat install dir... no checking for XMLRPC-EPI support... yes checking libexpat dir for

RE: [PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Its $this-startElement(). That was a typo. I typed the error message instead of copying and pasting it. Sorry. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:26 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] XMl Parsing

[PHP] xml and php

2003-07-31 Thread Steff
Hello I'm a beginner in php. Sorry to disturb you but I have two problems and I hope you can help me. I use php 4.3.2(InetPub\Php is my php directory) under windows 2000 server with IIS 5.0. I want to manipulate xml file with Php (add some element, modify some element,

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain system error : Call to undefined function: domxml_open_file() I heard about use

Re: [PHP] xml and php

2003-07-31 Thread Steff
PM Subject: RE: [PHP] xml and php [snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain system error : Call to undefined function: domxml_open_file

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] so I can parse and read xml file but I can't add or modify nothing in my xml file and even not create xml file ! [/snip] Uh, XML files are text files which you can modify with any of the text handling functions in PHP. What exactly are you trying to accomplish? -- PHP General Mailing List

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] ?xml version=1.0? library book id 1 /id title lg=FR Title 1 /title Desc lg=FR

Re: [PHP] xml and php

2003-07-31 Thread Ray Hunter
Make sure that you have all the dlls that are needed for php+dom. these dlls need to be in your windows path as well. Uncomment the dll in your php.ini file and restart the webserver. View a php page with phpinfo() as the only function in that page: ?php phpinfo(); ? See if you have dom in

[PHP] XML error: junk after document element

2003-07-26 Thread Robert Fitzpatrick
I am trying to parse and xml document: ?xml version=1.0? !DOCTYPE PrequalResponse PUBLIC -//New Edge Networks//DTD Pilot Prequalification Response 2.3//EN http://api.newedgenetworks.com/dtd/prequalresponse.dtd; PrequalResponse TransactionCodeCode1005/CodeMessageAuthentication failed: Invalid

[PHP] XML support in PHP 5

2003-07-25 Thread Juliano
I read in the site www.php.net that XML support has been completely redone in PHP 5. I would like to know if the old commands (like xml_parser_create, xml_parse, xml_set_element_handler...) will be removed or not. Where can I find more information about it? Thanks

[PHP] XML handlers in classes

2003-07-25 Thread Robert Fitzpatrick
I have a class that receives an XML response from a HTTP request and I am trying to parse the XML after receiving it. The problem I'm having is the error when trying to use xml set handlers, such as 'xml_set_element_handler'. It seems the class is having trouble seeing the handler functions. For

Re: [PHP] XML handlers in classes

2003-07-25 Thread Marek Kilimajer
If I remember well you can pass an array with object as the first element, function name as second: xml_set_element_handler($xml_parser, array($this,'startElement'),array($this,'endElement')); Robert Fitzpatrick wrote: I have a class that receives an XML response from a HTTP request and I am

Re: [PHP] XML

2003-07-17 Thread Ray Hunter
1. How efficient is to use XML+XSLT solution? Does it add processing overhead to the system? The efficientcy is relative to many factors, however I can stress this. The style sheets can be cached client side and then only xml data can be sent to the user. This reduces bandwidth and allows the

Re: [PHP] XML

2003-07-17 Thread Curt Zirzow
Ray Hunter [EMAIL PROTECTED] wrote: 1. How efficient is to use XML+XSLT solution? Does it add processing overhead to the system? The efficientcy is relative to many factors, however I can stress this. The style sheets can be cached client side and then only xml data can be sent to the

Re: [PHP] XML

2003-07-17 Thread Ray Hunter
On Thu, 2003-07-17 at 01:28, Curt Zirzow wrote: Ray Hunter [EMAIL PROTECTED] wrote: 1. How efficient is to use XML+XSLT solution? Does it add processing overhead to the system? The efficientcy is relative to many factors, however I can stress this. The style sheets can be cached

[PHP] XML Parsing

2003-07-17 Thread Doug La Farge
included how the PHP XML parsed the data. It's very similar to the fetch.cgi - maybe it's different and thus causing the problem but I don't see it. ?php $state = array(); global $state; // these two associatative arrays will hold the data structure (I hope :-) $quote = array(); global $quote

Re: [PHP] XML Parsing

2003-07-17 Thread Tyler Lane
at :-). You'll also notice at the bottom of the code I've included how the PHP XML parsed the data. It's very similar to the fetch.cgi - maybe it's different and thus causing the problem but I don't see it. ?php $state = array(); global $state; // these two associatative arrays will hold the data

RE: [PHP] XML Array

2003-07-16 Thread Ralph Guzman
Take a look at patConfiguration http://www.php-tools.de/site.php -Original Message- From: Michael Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: [PHP] XML Array Hey, I'm looking for a function to take an XML file and turn

Re: [PHP] XML

2003-07-16 Thread Hardik Doshi
Hi there, I read this interesting thread and come up with some questions. 1. How efficient is to use XML+XSLT solution? Does it add processing overhead to the system? 2. Do you have some examples which can describe the separation of layers using the XML+XSLT technology? 3. Currently i am

[PHP] XML Array

2003-07-15 Thread Michael Smith
Hey, I'm looking for a function to take an XML file and turn it into a PHP array with the same structure. So if I have: template color#00/color backgroundimage.jpg/background /template It would give me an array: Array ( [template] = Array ( [color] =

Re: [PHP] XML Array

2003-07-15 Thread Evan Nemerson
I seem to remember seeing something like that on hotscripts.com... On Tuesday 15 July 2003 03:58 pm, Michael Smith wrote: Hey, I'm looking for a function to take an XML file and turn it into a PHP array with the same structure. So if I have: template color#00/color

Re: [PHP] XML Array

2003-07-15 Thread Mike Migurski
I'm looking for a function to take an XML file and turn it into a PHP array with the same structure. So if I have: It's not one function, but you could use xml_parse() with appropriately-defined handlers for character data and open/close elements: http://php.net/xml There is also

RE: [PHP] XML

2003-07-09 Thread Petre Agenbag
[mailto:[EMAIL PROTECTED] |Sent: Tuesday, July 08, 2003 6:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP] XML | | |Hi List | |Firstly, this question is arguable more about XML than PHP, but they are |interlinked, so I hope it is topical for this list. | |Firstly, Where I come from

RE: [PHP] XML

2003-07-09 Thread Ray Hunter
- |From: Petre Agenbag [mailto:[EMAIL PROTECTED] |Sent: Tuesday, July 08, 2003 6:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP] XML | | |Hi List | |Firstly, this question is arguable more about XML than PHP, but they are |interlinked, so I hope it is topical for this list

[PHP] XML

2003-07-08 Thread Petre Agenbag
Hi List Firstly, this question is arguable more about XML than PHP, but they are interlinked, so I hope it is topical for this list. Firstly, Where I come from: I am VERY comfortable with PHP/MySQL on Linux and understand all those concepts. Now I'm trying to see the benefits of XML, and quite

Re: [PHP] XML

2003-07-08 Thread Burhan Khalid
to parsewhich led to me writing my own PHP XML parser class for that feed. Anyhow, the point of XML is not data storage (like a database), rather, its to facilitate data translation and trasportation. XML is best for transferring data when you are not sure that a native format is compatible

Re: [PHP] XML

2003-07-08 Thread Ray Hunter
XML is a way to store data in a structure format that is correct and is platform independent; meaning u can share data with anything that understands xml format. For web applications xml allows you to send data to the client and have the browser do the parsing for you. (I would suggest ie5.5 and

RE: [PHP] XML

2003-07-08 Thread Joe Harman
] Subject: [PHP] XML Hi List Firstly, this question is arguable more about XML than PHP, but they are interlinked, so I hope it is topical for this list. Firstly, Where I come from: I am VERY comfortable with PHP/MySQL on Linux and understand all those concepts. Now I'm trying to see the benefits

RE: [PHP] XML

2003-07-08 Thread Jeff Harris
|-Original Message- |From: Petre Agenbag [mailto:[EMAIL PROTECTED] |Sent: Tuesday, July 08, 2003 6:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP] XML | | |Hi List | |Firstly, this question is arguable more about XML than PHP, but they are |interlinked, so I hope it is topical for this list

RE: [PHP] XML

2003-07-08 Thread Ray Hunter
[mailto:[EMAIL PROTECTED] |Sent: Tuesday, July 08, 2003 6:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP] XML | | |Hi List | |Firstly, this question is arguable more about XML than PHP, but they are |interlinked, so I hope it is topical for this list. | |Firstly, Where I come from: | |I am VERY

[PHP] ?xml ? parsing problem

2003-06-28 Thread Daniele Baroncelli
Hi guys, I have problem in including this text in my PHP parsed file for XHTML definition: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; It

Re: [PHP] ?xml ? parsing problem

2003-06-28 Thread Ernest E Vogelsinger
At 12:33 28.06.2003, Daniele Baroncelli said: [snip] I have problem in including this text in my PHP parsed file for XHTML definition: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: [PHP] ?xml ? parsing problem

2003-06-28 Thread David Otton
On Sat, 28 Jun 2003 12:33:27 +0200, you wrote: I have problem in including this text in my PHP parsed file for XHTML definition: It works if I remove the first line: ?xml version=1.0 encoding=iso-8859-1? So, I am assuming PHP has problems with the ? ? symbols, as they are recognised to be PHP

Re: [PHP] ?xml ? parsing problem

2003-06-28 Thread Tularis
David Otton wrote: On Sat, 28 Jun 2003 12:33:27 +0200, you wrote: I have problem in including this text in my PHP parsed file for XHTML definition: It works if I remove the first line: ?xml version=1.0 encoding=iso-8859-1? So, I am assuming PHP has problems with the ? ? symbols, as they

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-24 Thread Doug Essinger-Hileman
On 24 Jun 2003 at 4:33, Philip Olson wrote: No. (btw, be sure to quote your strings). In reading the table found here: Thanks. That is a mistake I make frequently. The good thing about that is that if there is an error the first thing I look for is whether I have quoted my strings. ;-}

[PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Doug Essinger-Hileman
When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? Doug -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Milan Reznicek
It may happen because your HTML is not written in an XML standard. - Original Message - From: Doug Essinger-Hileman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 7:22 PM Subject: [PHP] ?xml version=1.0 encoding=UTF-8 When I include ?xml version=1.0 encoding=UTF

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread John Nichel
Doug Essinger-Hileman wrote: When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? Doug Do you have short tags disabled in you php.ini? If not, try turning it off,

Re: [PHP] ?xml version=

2003-06-23 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Mon, 23 Jun 2003 at 18:18, lines prefixed by '' were originally written by you. When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on.

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread David Otton
On Mon, 23 Jun 2003 13:22:40 -0400, you wrote: When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? ? opens a php block. Then the PHP interpreter attempts to

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread CPT John W. Holmes
When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Doug Essinger-Hileman
On 23 Jun 2003 at 13:22, CPT John W. Holmes wrote: The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short open tags in php.ini, I don't have access to php.ini. Can I do this on a script by script basis with ini_set(short_open_tag, off)

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Philip Olson
On Mon, 23 Jun 2003, Doug Essinger-Hileman wrote: On 23 Jun 2003 at 13:22, CPT John W. Holmes wrote: The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short open tags in php.ini, I don't have access to php.ini. Can I do this on a

[PHP] XML

2003-06-13 Thread Diana Castillo
does anyone know if there are any advantages/disadvantages as far as performance to using one of the following methods for gettting xml responses? 1) get 2)normal post with php 3)curl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML-RPC problem

2003-06-10 Thread Evandro Sestrem
Hi, I'm using the XML-RPC implementation from Useful (http://phpxmlrpc.sourceforge.net) to do my client in PHP. When this client receives a response from my server and this response is a array of struct with more than 1 item, occurs a problem. When the response array of struct has just 1 item it

[PHP] XML Parser Problem

2003-06-07 Thread Dustin Pate
Fatal error: Call to undefined function: xml_parser_create() in /home/httpd/rootdir/sstats/includes/XPath.class.php on line 1410 I now get this error on my phpsysinfo page. I have changed nothing in my install except for updating recently. My Linux Flavor is Gentoo if that helps. If you need

Re: [PHP] XML Parser Problem

2003-06-07 Thread Philip Olson
On Sun, 8 Jun 2003, Dustin Pate wrote: Fatal error: Call to undefined function: xml_parser_create() in /home/httpd/rootdir/sstats/includes/XPath.class.php on line 1410 I now get this error on my phpsysinfo page. I have changed nothing in my install except for updating recently. My Linux

Re: [PHP] XML Parser Problem

2003-06-07 Thread Dustin Pate
Thank you. I checked my php_info() and sure enough --disable_xml is present. Are there any Gentoo Users out there having this problem as well? Any Gentoo Users out there that might be able to help me work out a solution? I have 'xml' and 'xml2' in my make.conf use flags. D On Sun, 8 Jun 2003,

[PHP] xml parse error?

2003-04-02 Thread Jon King
I'm trying to parse a simple xml file, but I keep getting a strange error at $node-name which returns #text. Is this normal or am I doing something wrong? From what I understand, the $node-name should return branch but it returns #text. TIA Jon --- PHP Code -

[PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Hardik Doshi
Hi Everyone, Thanks to community for previous answers I want to know more regarding XML+XSLT technology to seperate presentation layer from the business logic. First let me explain on which tools i am currently working on. I am basically using PHP, MySQL and Apache on Sun Solaris environment.

RE: [PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Dan Rossi
]; [EMAIL PROTECTED] Subject: [PHP] XML+XSLT or Smarty again?? Hi Everyone, Thanks to community for previous answers I want to know more regarding XML+XSLT technology to seperate presentation layer from the business logic. First let me explain on which tools i am currently working on. I am basically

[PHP] XML Problems

2003-03-20 Thread Burhan Khalid
Hello List, Having some serious headaches trying to fix XML integration into a PHP class. Am new to XML, but have been comfortable with PHP for quite a while so please reply accordingly. Here is the problem : * Data handing functions are being called multiple

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
] Assunto: [PHP] XML Problems Hello List, Having some serious headaches trying to fix XML integration into a PHP class. Am new to XML, but have been comfortable with PHP for quite a while so please reply accordingly. Here is the problem : * Data handing functions

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
= load_xml(http://weather.interceptvector.com/weather.xml?id=QlJYWDAxMzA% 3D); Enjoy XML! Piero -Mensagem original- De: Piero B. Contezini [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 20 de março de 2003 21:45 Para: 'Burhan Khalid' Cc: [EMAIL PROTECTED] Assunto: RES: [PHP] XML Problems

RES: RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
So ask the administrator to install it, without it kidding with XML will be a hell! Piero -Mensagem original- De: Burhan Khalid [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 20 de março de 2003 22:15 Para: Piero B. Contezini Assunto: Re: RES: [PHP] XML Problems Hello Piero

<    1   2   3   4   5   6   7   8   9   >