[PHP] XML

2002-02-26 Thread Tom Holton
Hello, I have come across a strange error when using the XML parsing functions. Instead of printing the xml to the screen, like the functions do, I decided to put these into arrays. It all seems to be working normally, except for the data part (this is the non-xml data). I can verify that the

Re: [PHP] XML compliance with forms and trans_sid when using sessions

2002-02-22 Thread James Nord
Lars Torben Wilson wrote: On Thu, 2002-02-21 at 14:11, James Nord wrote: Unfortunatly I know some that need to leave it. If you would state exactly what the problem with the slash being there is, perhaps we could help you. The HTML renderer that comes with Java (jfc) renders the '' due to

[PHP] XML compliance with forms and trans_sid when using sessions

2002-02-21 Thread James Nord
Hi, How do I get PHP to output an HTML tag instead of and XML tag when using trans_sid and a form in PHP. (eg) php outputs input type=hidden name=sessionName value=sessionID / but I don't want the trailing / /James -- Technology is a word that describes something that doesn't work yet.

Re: [PHP] XML compliance with forms and trans_sid when usingsessions

2002-02-21 Thread Lars Torben Wilson
On Thu, 2002-02-21 at 09:45, James Nord wrote: Hi, How do I get PHP to output an HTML tag instead of and XML tag when using trans_sid and a form in PHP. (eg) php outputs input type=hidden name=sessionName value=sessionID / but I don't want the trailing / /James I already told

Re: [PHP] XML compliance with forms and trans_sid when using sessions

2002-02-21 Thread James Nord
Lars Torben Wilson wrote: On Thu, 2002-02-21 at 09:45, James Nord wrote: Hi, How do I get PHP to output an HTML tag instead of and XML tag when using trans_sid and a form in PHP. (eg) php outputs input type=hidden name=sessionName value=sessionID / but I don't want the trailing / /James

Re: [PHP] XML compliance with forms and trans_sid whenusing sessions

2002-02-21 Thread Lars Torben Wilson
On Thu, 2002-02-21 at 14:11, James Nord wrote: Unfortunatly I know some that need to leave it. If you would state exactly what the problem with the slash being there is, perhaps we could help you. The HTML renderer that comes with Java (jfc) renders the '' due to the '/' being before

[PHP] XML issues

2002-02-12 Thread Eric Tonicello
Hi ! I'm writing some code, and I have questions : #1 : it is possible to use xslt_process($xml, $xsl,$result) with a string $xml comtaining XML instead of pointing to an .xml file ? #2 : I have to copy a XML node from a XML file to another (both on server) and then transform it with XSLT and

[PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how to actually build PHP to have

Re: [PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Erik Price
On Thursday, February 7, 2002, at 03:03 PM, Navid Yar wrote: Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to

RE: [PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
Thanks, Erik! This will do nicely. :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 2:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need XML info for PHP -- XML Newbie On Thursday, February 7, 2002, at 03:03

[PHP] XML closing elements called for tag /

2002-02-06 Thread Hammy
Is there any way to suppress or detect when the closing element event fires from tags in the form tag / rather than tag/tag?

[PHP] Need XML info for PHP -- XML Newbie

2002-02-06 Thread Navid Yar
Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how to actually build PHP to have

[PHP] PHP/XML gap?

2002-01-20 Thread Emile Bosch
Why does it seem that when spoken about XML, PHP is almost always left out? And why does it seem that every XML based CMS is build in a non-php language? Are there any XMLCMS OpenSource Classes/Projects available? Warm regards, Emile Bosch -- PHP General Mailing List (http://www.php.net/)

[PHP] xml dom support

2002-01-11 Thread Sandeep Murphy
hi, I am running PHPtriad on a win2k machine... when I run phpinfo() it displays XMLACTIVE but I keep getting an error Fatal error: Call to undefined function: xmldoc() in C:\apache\htdocs\example.php on line 24 What needs to installed/configured ?? TIA, sandeep -- PHP General

Re: [PHP] xml dom support

2002-01-11 Thread Henning Sprang
Sandeep Murphy wrote: hi, I am running PHPtriad on a win2k machine... when I run phpinfo() it displays XMLACTIVE this means that the standart, expat based xml support ist active but I keep getting an error Fatal error: Call to undefined function: xmldoc() in

[PHP] XML and CMS

2002-01-10 Thread Emile Bosch
Hmm. has someone exeperience with building an CMS which uses XML for it's objects and page elemnts?? Warm regards, Emile Bosch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Re: [php-xml] Http Request

2002-01-08 Thread Manuel Lemos
Hello, Sandeep Murphy wrote: Hi, Can anyone tellme how I can do a http request to a servlet from a PHP?? I mean, I have a username and password which I want to send in a string(variable) to a Servlet which authentifies it and responses back in XML format... any suggestions?? This

[PHP] PHP, XML

2002-01-07 Thread Sandeep Murphy
hi, Does anyone know of a mailing list for PHP and XML or can I just pose them here?? Thanks, sandeep -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

RE: [PHP] PHP, XML

2002-01-07 Thread Boget, Chris
Does anyone know of a mailing list for PHP and XML or can I just pose them here?? PHP-XML. The list address is: [EMAIL PROTECTED] Chris

Re: [PHP] PHP XML with Dynamic Content

2002-01-05 Thread Emile Bosch
Writing it on the fly would be kinda redundant.. I think.. :( from mysql data to xml to data.. .. would slow things down a bit i think.. :( Brian Clark [EMAIL PROTECTED] wrote in message 20020105030550.GD17616@ganymede">news:20020105030550.GD17616@ganymede... * Emile Bosch ([EMAIL PROTECTED])

[PHP] XML based content management system.

2002-01-05 Thread Emile Bosch
Does anyone know an opensource XML based content management system? Written in PHP? Warm regards, Emile Bosch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] PHP XML with Dynamic Content

2002-01-04 Thread Brian Clark
* Emile Bosch ([EMAIL PROTECTED]) [Jan 03. 2002 15:38]: Hi a lot of todays proffesional content management systems use XML, now i was wondering how it's possible to mix XML with Dynamic Content, or content which is change sensitive, IE A shop, or an auction, let's say you have a shop with

[PHP] PHP XML with Dynamic Content

2002-01-03 Thread Emile Bosch
Hi a lot of todays proffesional content management systems use XML, now i was wondering how it's possible to mix XML with Dynamic Content, or content which is change sensitive, IE A shop, or an auction, let's say you have a shop with 1000 products, how am i gonna mix this in the XML? Does anyone

Re: [PHP] XML Parsing Problem

2002-01-03 Thread Ben Gollmer
useful. Matt. -Original Message- From: Ben Gollmer [mailto:[EMAIL PROTECTED]] Sent: 02 January 2002 23:16 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] XML Parsing Problem Ok, I can understand the predefined entity replacement. But why does it break the string up

RE: [PHP] XML Parsing Problem

2002-01-02 Thread Matthew Clark
January 2002 00:23 To: [EMAIL PROTECTED] Subject: [PHP] XML Parsing Problem Hi all - I'm experimenting with PHP's XML parser for an application that maps XML tags to MySQL database fields. As a test for my parsing program, I've been grabbing XML from the Slashdot news feed (http://www.slashdot.org

Re: [PHP] XML Parsing Problem

2002-01-02 Thread Ben Gollmer
PROTECTED] Subject: [PHP] XML Parsing Problem Hi all - I'm experimenting with PHP's XML parser for an application that maps XML tags to MySQL database fields. As a test for my parsing program, I've been grabbing XML from the Slashdot news feed (http://www.slashdot.org/slashdot.xml

RE: [PHP] XML Parsing Problem

2002-01-02 Thread Matthew Clark
. -Original Message- From: Ben Gollmer [mailto:[EMAIL PROTECTED]] Sent: 02 January 2002 23:16 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] XML Parsing Problem Ok, I can understand the predefined entity replacement. But why does it break the string up into 3 parts? I

[PHP] XML Parsing Problem

2001-12-31 Thread Ben Gollmer
Hi all - I'm experimenting with PHP's XML parser for an application that maps XML tags to MySQL database fields. As a test for my parsing program, I've been grabbing XML from the Slashdot news feed (http://www.slashdot.org/slashdot.xml) and inserting it into a database. This is very simple

[PHP] PHP XML

2001-12-19 Thread Martin Hughes
Heya, Is it possible to integrate XML with PHP - ie get data out of an XML file and format it in html using php? Or alternatively, use php within an XSL file...? Cheers Mart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: PHP XML

2001-12-19 Thread Martin Hughes
Sorry - I should perhaps say that I'm only intending to code this site for IE(5/6) - there are too many issues with NetS - I **KNOW** that that's bad and lazy, but that's the way it's gonna be :o) M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP XML

2001-12-19 Thread Bas van Rooijen
For XML use parser: http://www.php.net/manual/en/ref.xml.php PHP in .xsl file is possible, edit your httpd.conf find this line: AddType application/x-httpd-php .phtml .php .php3 and add extensions that should be parsed by PHP, like so: AddType application/x-httpd-php .phtml .php .php3 .xsl

Re: [PHP] PHP XML

2001-12-19 Thread Martin Hughes
Thanks! Much appreciated. M Bas Van Rooijen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... For XML use parser: http://www.php.net/manual/en/ref.xml.php PHP in .xsl file is possible, edit your httpd.conf find this line: AddType application/x-httpd-php .phtml .php .php3 and

Re: [PHP] PHP XML (2)

2001-12-19 Thread Bas van Rooijen
and restart ofcourse ;) bvr. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP XML

2001-12-07 Thread Steve Haemelinck
Hi Guys I am developing with PHP and XML. Now I experience some problem with the processing instructions of xml (?xml version=1.0 encoding=UTF-8?) which causes PHP to return a parsing error. This is logical because ? is also the short-tag processing instruction for PHP. Does anybody got an idea

Re: [PHP] PHP XML

2001-12-07 Thread Mike Eheler
You could also do it like: ?= '?xml version=1.0 encoding=UTF-8?' ? Mike Steve Haemelinck wrote: Hi Guys I am developing with PHP and XML. Now I experience some problem with the processing instructions of xml (?xml version=1.0 encoding=UTF-8?) which causes PHP to return a parsing error. This

Re: [PHP] PHP XML

2001-12-07 Thread Erik Price
I thought that short tags were illegal in XHTML and XML. But I could be wrong. On Friday, December 7, 2001, at 01:53 PM, Steve Haemelinck wrote: Hi Guys I am developing with PHP and XML. Now I experience some problem with the processing instructions of xml (?xml version=1.0

[PHP] xml header

2001-12-05 Thread bill
What is the proper header to send when presenting dynamic xml pages to the browser? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] xml header

2001-12-05 Thread Tyler Longren
Hi Bill, I don't believe there are any. Tyler - Original Message - From: bill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 1:42 PM Subject: [PHP] xml header What is the proper header to send when presenting dynamic xml pages to the browser

Re: [PHP] xml header

2001-12-05 Thread bill
Longren wrote: Hi Bill, I don't believe there are any. Tyler - Original Message - From: bill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 1:42 PM Subject: [PHP] xml header What is the proper header to send when presenting dynamic xml pages to the browser

RE: [PHP] xml header

2001-12-05 Thread Matthew Loff
The proper content type is text/xml. --Matt -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 3:11 PM To: Tyler Longren Cc: [EMAIL PROTECTED] Subject: Re: [PHP] xml header Hmmm. I'm thinking of the http headers. Assume you have an xml

[PHP] Xml Parse Extended Chars

2001-12-05 Thread Chris Noble
Ive ran into a stumbling block trying to parse an xml document. I control the parsing and the creation of the xml document so I can do any changes from either side of it. Problem I have run into is my xml document has a é in it. Ive ran htmlentities on it and it converts it to eacute; but

RE: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Matthew Loff
Did you try adding: header(Content-Type: text/xml); To the top? -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 01, 2001 12:34 AM To: [EMAIL PROTECTED] Subject: [PHP] XML and PHP - dynamic hell I'm having one page output XML for other sites

Re: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Chris
It didn't help :( - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: 'Chris' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 01, 2001 10:03 AM Subject: RE: [PHP] XML and PHP - dynamic hell Did you try adding: header(Content-Type: text/xml); To the top

[PHP] XML Segmentation Fault??

2001-11-27 Thread Chris Hemmings
Hello! This is my first post, so bare with me. I'm trying to use PHP together with some XML files to create an array of elements and values. This, looking at the examples seemed fairly reasonable. After recompiling Apache/PHP using --with-xml everything seems fine. I am using Solaris 2.6,

[PHP] XML DTD

2001-11-12 Thread Melih Onvural
I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone knew how to apply a DTD, or where to find one. thanks for any help, Melih Onvural [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] XML DTD

2001-11-12 Thread Egon Schmid
From: Melih Onvural [EMAIL PROTECTED] I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone knew how to apply a DTD, or where to find one. thanks for any help, This is not a newsgroup it is a mailing list. We use the DocBook XML DTD to

Re: [PHP] XML DTD

2001-11-12 Thread Brian White
Here's a DTD: !DOCTYPE stuff [ !ELEMENT stuff (thing+) !ELEMENT thing (#PCDATA) ] Whether it is of any USE to anyone is debatable.. At 12:41 12/11/2001 -0500, Melih Onvural wrote: I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone

[PHP] XML newbie

2001-10-24 Thread Srinivasan Ranganathan
Hi Its me again (for those who know me ;-)). ive been working with php and mysql for a while and am curious about xml. what do i have to do to get started? thanks in advance Srinivasan Ranganathan Do You Yahoo!? Send a newsletter,

RE: [PHP] XML newbie

2001-10-24 Thread Jon Haworth
/ and have a look at their stuff. Cheers Jon -Original Message- From: Srinivasan Ranganathan [mailto:[EMAIL PROTECTED]] Sent: 24 October 2001 16:46 To: [EMAIL PROTECTED] Subject: [PHP] XML newbie Hi Its me again (for those who know me ;-)). ive been working with php and mysql for a while

Re: [PHP] XML: Expat or DOM?

2001-10-20 Thread Tamas Arpad
On Saturday 20 October 2001 02:35, you wrote: Hi guys, Also, is it really risky to develop in DOM, considering the module is experimental, and in theory it could change ? We are working with dom for about a year. Our project depends on it, so I hope it won't change much :)) By the way we

[PHP] XML: Expat or DOM?

2001-10-19 Thread Daniele Baroncelli
Hi guys, I would like to start the new development of my site in XML. Can anyone with experience tell me the real difference in speed between the Expat and DOM parser? Also, is it really risky to develop in DOM, considering the module is experimental, and in theory it could change ? Any

[PHP] XML works like a DataBase?

2001-09-25 Thread Augusto Cesar Castoldi
Hi. I've been looking for XML, and I'd like to know if you know if with the XML funtions of PHP I can create a XML file, add and remove data just, or almost equal of I do with MySQL. regards, Augusto

RE: [PHP] XML works like a DataBase?

2001-09-25 Thread Andrew Hill
Software http://www.openlinksw.com Universal Data Access Data Integration Technology Providers -Original Message- From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 2:03 PM To: [EMAIL PROTECTED] Subject: [PHP] XML works like a DataBase? Hi

RE: [PHP] XML works like a DataBase?

2001-09-25 Thread Augusto Cesar Castoldi
http://www.openlinksw.com Universal Data Access Data Integration Technology Providers -Original Message- From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 2:03 PM To: [EMAIL PROTECTED] Subject: [PHP] XML works like a DataBase? Hi

[PHP] XML DOM: encoding attribute problems and namespaces

2001-09-13 Thread ZeNDeR-X
hi ;) Recently I've been using the DOM module of php and I have encountered a few problems. I am working on a quite advanced XML application and I am forced to use the PHP technology. I need to dynamically create XML documents. There's no problem with that when i simply use this statement: $doc

[PHP] XML DOM: encoding attribute problems and namespaces

2001-09-13 Thread ZeNDeR-X
hi ;) Recently I've been using the DOM module of php and I have encountered a few problems. I am working on a quite advanced XML application and I am forced to use the PHP technology. I need to dynamically create XML documents. There's no problem with that when i simply use this statement: $doc

Re: [PHP] XML Next 25 Results

2001-08-07 Thread Girish Nath
($response);// custom function to strip HTTP headers from fetched data. } - Original Message - From: Gerry Kirk [EMAIL PROTECTED] To: Girish Nath [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 5:22 AM Subject: Re: [PHP] XML Next 25 Results Hello Girish, I can't help you

Re: [PHP] XML Next 25 Results

2001-08-07 Thread Girish Nath
PROTECTED] To: Girish Nath [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 8:19 AM Subject: Re: [PHP] XML Next 25 Results I think the best approach would be if you could specify in your query the number of rows you want and the starting row number. In MySQL, you can do that with LIMIT(row_num

Re: [PHP] XML/XPath Position() Syntax

2001-08-07 Thread Girish Nath
PROTECTED] Sent: Tuesday, August 07, 2001 11:39 PM Subject: Re: [PHP] XML/XPath Position() Syntax file://product[position() 25 and position() 50 ] - Original Message - From: Girish Nath [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 2001. augusztus 8. 00:15 Subject: [PHP] XML/XPath Position

[PHP] XML Next 25 Results

2001-08-06 Thread Girish Nath
Hi I have a script which receives and processes XML product information and displays it as a table in html. However, sometimes the html table can contain over 200 rows. Does anyone know of any xml parse examples which limit the output and possibly make a Display Next 25 results link at the base

[PHP] xml and php question

2001-07-09 Thread Conor McTernan
Hey all I'm not so sure if this is the correct place to ask this question, but I'm hoping some of you will be able to give me some feedback. I am currently toying around with php and mysql developing a website for myself, the current one is partly php powered, but I am trying to move it over to

Re: [PHP] RE: [PHP-WIN] php XML output in IE: no display

2001-07-09 Thread Patrick Sibenaler
IE does some intelligent guessing based on filename extension that will override headers. If you send enough headers in the right sequence you can get it to work right - with a weird name if you want to save it and sometimes a double query on whether or not you want to save it. Tricking it

Re: [PHP] PHP XML Parsing

2001-05-23 Thread Peter Dudley
Interesting.. So to be consistent with proper XML formatting, should the server hosting the XML file convert the into amp; ? It depends on the situation, I believe. The server that sends you XML should indeed provide you well-formed XML, which it's not doing. Probably what should happen

Re: [PHP] PHP XML Parsing

2001-05-22 Thread Mike Gifford
Message - From: Mike Gifford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 18, 2001 12:24 PM Subject: [PHP] PHP XML Parsing Hello, In looking for a good script to parse XML files I stumbled across the following tutorial (which looks very good): http

Re: [PHP] PHP XML Parsing

2001-05-22 Thread Mike Gifford
Hello Peter, Peter Dudley wrote: The problem is in your link URL, where you pass CGI parameters. When XML sees the character, it assumes it's a special character thing such as amp; or quot;, so it's expecting a semicolon. replacing it with amp; fixed the XML error. Thanks!

[PHP] PHP XML Parsing

2001-05-18 Thread Mike Gifford
Hello, In looking for a good script to parse XML files I stumbled across the following tutorial (which looks very good): http://www.wirelessdevnet.com/channels/wap/features/xmlcast_php.html I have set this script up here:

Re: [PHP] PHP XML Parsing

2001-05-18 Thread Peter Dudley
The problem is in your link URL, where you pass CGI parameters. When XML sees the character, it assumes it's a special character thing such as amp; or quot;, so it's expecting a semicolon. linkhttp://cupe.ca/news/cupenews/showitem.asp?ID=2823cl=1/link Just yesterday I discovered a program

Re: [PHP] PHP XML Parsing

2001-05-18 Thread Fabian Raygosa
for xml you have to escape certain characters in the file, one is the ampersand ... - Original Message - From: Mike Gifford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 18, 2001 12:24 PM Subject: [PHP] PHP XML Parsing Hello, In looking for a good script to parse XML

[PHP] XML Parsing

2001-04-30 Thread Michael Conley
I am posting information to a credit card processing server. This is done over HTTPS (with cURL) and seems to work fine. I get the response that I want from the server, which consists of an XML doc with about 20 tags and their corresponding values. I have gone through the mailing list and

Re: [PHP] XML Parsing

2001-04-30 Thread Fabian Raygosa
: Michael Conley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 30, 2001 3:21 PM Subject: [PHP] XML Parsing I am posting information to a credit card processing server. This is done over HTTPS (with cURL) and seems to work fine. I get the response that I want from the server, which

[PHP] 'XML To Array' Class

2001-04-23 Thread [EMAIL PROTECTED]
Hello, I'm new to using XML with PHP, but I think I've got it figured out for the most part. I have created a class that reads in an XML file and returns the data it finds to an array, but I'm running into a problem because the array keeps coming back empty. Would you mind taking a moment

Re: [PHP] 'XML To Array' Class

2001-04-23 Thread Serge Vleugels
heey, i'm currently facing the same problem as you. i was thinking of using either xml_parse_into_struct or using a class i found phpxml.class at http://www.phpxml.org let me know how you did it, i'm very intrested Serge Zeddicus Zu'l Zorandre Vleugels -- freedom is the wizard's only choice

Re: [PHP] 'XML To Array' Class (Array Problem)

2001-04-23 Thread [EMAIL PROTECTED]
I think it's important to mention that my problem is not with XML, but with my use of arrays. I have tested the variable content that comes back with XML and the data is coming through. My problem is I am not doing something right to make the data into an array... heey, i'm currently

[PHP] XML/Array Class

2001-04-23 Thread [EMAIL PROTECTED]
I've narrowed down my problem... It is building the array as it should. I can print_r the results in the function CData(). However, the results are no longer then at the end of GetArray(). I'm not sure what's causing this problem... ? class eXML {

[PHP] XML/Array Class (Possible Bug??)

2001-04-23 Thread [EMAIL PROTECTED]
I decided to take my class and just turn it into some functions. It works perfectly. I did not change any code except for removing the class declaration and getting rid of the $this- statements. I believe that maybe my problem has to do with the use of xml_set_object() making a reference

[PHP] xml-rcp problem

2001-04-21 Thread Peter Van Dijck
Hi, I was playing with the xml-rcp example given at o'reilly http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html which uses Edd Dumbill's PHP XML-RPC modules But when I run the example mentioned in the oreilly article (on Apache on win NT), I get a popup saying error in php.exe

Re: [PHP] xml-rcp problem

2001-04-21 Thread Peter Van Dijck
Also, when I uncomment stuff, the line that seems to be giving the problems is: $response = $client-send($msg); When I comment that no more errors. (but nothing else either ofcourse) Peter ~~ http://liga1.com building multiple language/culture websites

[PHP] xml with php

2001-04-19 Thread steve lee
Please can you guide me, I want to use php to update the following xml with the values the user fills in. for example add value="" in the "input type text" line and add checked to the Radio button line. Is there any functions in php that can be used to step through a xml and just update the form

[PHP] XML - simple get data from elements

2001-04-18 Thread Mark Bean
I have a valid XML file that all I want to do is assign to variables the data in the elements title and fulltext. I know nothing about XML and am not a programmer. Are there any good tutorials out there to do something as simple as what I'm looking for? Will expat do what I'm looking for?

Re: [PHP] XML - simple get data from elements

2001-04-18 Thread Joe Stump
I wrote an article for PHPBuilder.com - I would start there - I made it as easy as possible. --Joe On Wed, Apr 18, 2001 at 04:58:28PM -0400, Mark Bean wrote: I have a valid XML file that all I want to do is assign to variables the data in the elements title and fulltext. I know nothing

Re: [PHP] XML - simple get data from elements

2001-04-18 Thread Manuel Lemos
Hello, Mark Bean wrote: I have a valid XML file that all I want to do is assign to variables the data in the elements title and fulltext. I know nothing about XML and am not a programmer. Are there any good tutorials out there to do something as simple as what I'm looking for? Will

[PHP] XML via socket connection

2001-04-13 Thread phpman
All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP headers and such?). Is there a built in

Re: [PHP] XML via socket connection

2001-04-13 Thread Dean Hall
""phpman"" [EMAIL PROTECTED] wrote: All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP

[PHP] ?xml version=1.0? PHP

2001-04-09 Thread Gary
Hi All, When using the dtd below on a page that has a form with php. I get a parser error for ?xml version="1.0"? am I going to have to go back to a HTML 4.01 dtd or can I do something like escape the ? ? ?xml version="1.0"? !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread Gary
Brian Clark wrote: Hi Gary, @ 4:38:17 PM on 4/9/2001, Gary wrote: When using the dtd below on a page that has a form with php. I get a parser error for ?xml version="1.0"? am I going to have to go back to a HTML 4.01 dtd or can I do something like escape the ? ? ?xml

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread Brian Clark
Hi Gary, @ 8:13:49 PM on 4/9/2001, Gary wrote: ... I was afraid it would turn out like that. I hope our host will disable the short tags for us. I'm not sure, but you may be able to specify that in an .htaccess file. Check the docs on that (maybe search for htaccess). -Brian -- PGP is

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread Philip Olson
@ 8:13:49 PM on 4/9/2001, Gary wrote: ... I was afraid it would turn out like that. I hope our host will disable the short tags for us. I'm not sure, but you may be able to specify that in an .htaccess file. Check the docs on that (maybe search for htaccess). Yes it can, like :

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread osium
I dunno if this is of any help, but when I use XML and php on the same page, what I do to bypass that is just have php echo the XML. echo "?xml version="1.0"?"; Hi All, When using the dtd below on a page that has a form with php. I get a parser error for ?xml version="1.0"? am I going

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread Brian Clark
Hi osium, @ 4:23:17 PM on 4/9/2001, [EMAIL PROTECTED] wrote: I dunno if this is of any help, but when I use XML and php on the same page, what I do to bypass that is just have php echo the XML. echo "?xml version="1.0"?"; ... I think you meant: ?php echo '?xml version="1.0"?'; ?

Re: [PHP] ?xml version=1.0? PHP

2001-04-09 Thread trogers
Hi I do it this way: ? echo '?xml version="1.0"?' ; ? must use single quotes Tom At 04:38 PM 9/04/01 -0400, Gary wrote: Hi All, When using the dtd below on a page that has a form with php. I get a parser error for ?xml version="1.0"? am I going to have to go back to a HTML 4.01 dtd or

Re: [PHP] XML

2001-04-05 Thread Josh McDonald
/ - Original Message - From: "Plutarck" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 04, 2001 11:07 PM Subject: Re: [PHP] XML If memory serves, I was told that "PHP at the present time can not validate an XML document". It does everything else, but you w

Re: [PHP] XML

2001-04-05 Thread Plutarck
n they back. http://www.gfunk007.com/ - Original Message - From: "Plutarck" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 04, 2001 11:07 PM Subject: Re: [PHP] XML If memory serves, I was told that "PHP at the present time can not validate an XML document&quo

Re: [PHP] XML

2001-04-05 Thread Soeren Staun-Pedersen
valid and well-formed are different, can php verify neither? It can validate well-formed. Regards, Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] XML

2001-04-04 Thread Andreas Sisask
Hello, Does php have some feature of using .dtd or .xsd in parsing an .xml file? I mean for example if I parse some .xml (which refers to some .dtd) it checks that the .xml is correct or if not then gives quite exact error about it. Andreas -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] XML

2001-04-04 Thread Sebastien Roy
Hi Andreas, Please let me know if you find something about that, it would be really nice! Regards, Sebastien Roy [EMAIL PROTECTED] Andreas Sisask wrote: Hello, Does php have some feature of using .dtd or .xsd in parsing an .xml file? I mean for example if I parse some .xml (which refers

Re: [PHP] XML

2001-04-04 Thread Andreas Sisask
I have a docdef.dtd file which defines a document. Now, if I parse some doc1.xml file which refers to this docdef.dtd, that is it contains the line !DOCTYPE whateva SYSTEM "docdef.dtd" I want to chek if the doc1.xml really is correct as defined - has the syntax (elements, nesting and whatever I

Re: [PHP] XML

2001-04-04 Thread Sebastien Roy
Sorry, but i'm not sure to understand your response... (maybe it's the question that I don't understand) I thought that the question was ansking for a simple way to validate a xml document with his associated dtd by a php script. It would be very useful for me to validate the xml document once

Re: [PHP] XML

2001-04-04 Thread Plutarck
If memory serves, I was told that "PHP at the present time can not validate an XML document". It does everything else, but you will have to validate everything on your own. In other words there is no current PHP function that can parse an .xml document and judge if it is Well Formed or not. --

Re: [PHP] XML

2001-04-04 Thread Soeren Staun-Pedersen
If memory serves, I was told that "PHP at the present time can not validate an XML document". It does everything else, but you will have to validate everything on your own. In other words there is no current PHP function that can parse an .xml document and judge if it is Well Formed or

[PHP] PHP XML

2001-03-23 Thread Ales Kracik
does anybody know how to switch off entities resoving in PHP XML? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

<    3   4   5   6   7   8   9   >