[PHP] xml declaration

2002-09-13 Thread Brian V Bonini
Is this the appropriate way to handle this? ?php echo '?xml version=1.0 encoding=UTF-8?' . \n; ? What's everyone else do? I'm not missing something here am I?? :) -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] xml declaration

2002-09-13 Thread Jay Blanchard
[snip] Is this the appropriate way to handle this? ?php echo '?xml version=1.0 encoding=UTF-8?' . \n; ? What's everyone else do? I'm not missing something here am I?? :) [/snip] You can also place the XML declaration outside of the php tags. I have been able to get proper validation both ways.

RE: [PHP] xml declaration

2002-09-13 Thread Brian V Bonini
When I do that PHP complains about the ?xml .. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, September 13, 2002 9:28 AM To: 'Brian V Bonini'; 'PHP Lists' Subject: RE: [PHP] xml declaration [snip] Is this the appropriate way to handle

RE: [PHP] xml declaration

2002-09-13 Thread Jay Blanchard
[snip] When I do that PHP complains about the ?xml .. ?php echo '?xml version=1.0 encoding=UTF-8?' . \n; ? What's everyone else do? I'm not missing something here am I?? :) [/snip] Try ?php print(?xml version=\1.0\ encoding=\UTF-8\?\n); ? I just copied this from a page that I have that

[PHP] XML Parser Question

2002-09-11 Thread OrangeHairedBoy
I've been reading the XML parser documention, and I'm not having much luck. I want to be able to handle the tag mytag value=xy/, but the parser keeps telling me that it's not formed correctly (because of the in the quotes). But shouldn't it ignore that as a tag-opening since it's inside

RE: [PHP] XML Parser Question

2002-09-11 Thread Martin Towell
could you change the to lt; or %3C or something similar? -Original Message- From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] XML Parser Question I've been reading the XML parser documention, and I'm

Re: [PHP] XML Parser Question

2002-09-11 Thread OrangeHairedBoy
u change the to lt; or %3C or something similar? -Original Message- From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] XML Parser Question I've been reading the XML parser documention, and I'm not having much l

Re: [PHP] XML Parser Question

2002-09-11 Thread Peter J. Schoenster
On 12 Sep 2002 at 0:13, OrangeHairedBoy wrote: Yeah...i should have mentioned I had thought of that...but I really don't want to :) It just doesn't look right when it's a math expression. Know a permenant solution? I want to be able to handle the tag mytag value=xy/, but the parser

Re: [PHP] XML Parser Question

2002-09-11 Thread OrangeHairedBoy
Hmmm...hadn't thought of that... I guess I could use that if there's no alternative... What I really need is the ability to do this: tag value=xy/ I'm convinced that there just has to be a way! :) But thanks though...I'm writing that down now... Lewis Peter J. Schoenster [EMAIL PROTECTED]

Re: [PHP] XML doubt

2002-09-05 Thread Geoff Hankerson
I am not sure, but my best guess is if you are using Apache and Php as a module is that each request will be handled by a seperate child process of Apache. Perhaps someone can correct me if I am wrong. Rodrigo Dominguez wrote: Ok, thank you just one more doubt Is it threading safe? For

[PHP] xml parsing (while loop question)

2002-09-05 Thread Kristopher Yates
Hi, I have Marc Robards article on XML Parsing with PHP (wirelessdevnet.com).. which talks about parsing an XML FILE. My XML is from a remote server (used curl to get it back to PHP as a variable). How do I change the following while to read from variable instead of file without getting

Re: [PHP] XML vs Everything Else

2002-09-04 Thread Geoff Hankerson
Rodrigo Dominguez wrote: I'm writting an application, a control panel for a web site, and it will be great if I can separe data from presentation, I know that I have to work with XML and XSL but I didn't understand how it works. Can you give me a simple example? Let guess that a client request

[PHP] xml to mysql

2002-09-04 Thread DtM
Hi, Is there a way to create a DB from a xml file or it's better to use the xml file for DB, i have lot of files so i think a DB will be better. If you know a program or tutorial let me know. thanx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] XML vs Everything Else

2002-09-04 Thread Rodolfo Gonzalez
On Tue, 3 Sep 2002, Geoff Hankerson wrote: Spend some time learning about xml and you won't regret it Sorry for the off topic, but in fact XML is not that hard to learn, it's just custom markup that needs to follow certain rules. The important part is the parser or the program logic to work

RE: [PHP] xml to mysql

2002-09-04 Thread Andrew Hill
: Wednesday, September 04, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] xml to mysql Hi, Is there a way to create a DB from a xml file or it's better to use the xml file for DB, i have lot of files so i think a DB will be better. If you know a program or tutorial let me know. thanx. -- PHP

[PHP] XML doubt

2002-09-04 Thread Rodrigo Dominguez
I don't know how to work with XML... I know that it's a good standard to pass information between computer or applications, but I don't know how to separe my data from my presentation on my PHP projects. I always use OOP, I organize all the data in databases and clases, but I always have to put

Re: [PHP] XML doubt

2002-09-04 Thread Geoff Hankerson
Rodrigo Dominguez wrote: I don't know how to work with XML... I know that it's a good standard to pass information between computer or applications, but I don't know how to separe my data from my presentation on my PHP projects. I always use OOP, I organize all the data in databases and clases,

Re: [PHP] XML doubt

2002-09-04 Thread Geoff Hankerson
Forgot a step: (1C) make an xslt stylesheet which is basically just a beefed-up html page. Check out devshed.cm xml.com and w3c.org for info on xslt stlyesheets Geoff Hankerson wrote: Rodrigo Dominguez wrote: I don't know how to work with XML... I know that it's a good standard to pass

[PHP] PHP/XML (Validation)

2002-09-04 Thread Robert Samuel White
Hello, From reading the docs on XML functions for PHP, I understand that validation is not included. Does any one know where there is a package for PHP that is already developed or resources where I can learn how to do this myself? Thank you. -Samuel

Re: [PHP] XML doubt

2002-09-04 Thread Rodrigo Dominguez
Ok, thank you just one more doubt Is it threading safe? For example: At 13:30:10 [Proccess 1] cliente request index.php At 13:30:11 [Proccess 1] index.php is putting the content of the querey into index.xml At 13:30:12 [Proccess 2]a new client request index.php At 13:30:13 [Proccess 2]a new

[PHP] XML vs Everything Else

2002-09-03 Thread Taylor York
Ok, Help me out on this one. As far as i can tell, xml documents store data..pretty much just a dababase. Now please, correct me on anything I say incorrectly...But i just cannot seem to grasp the point of using XML over MySQL. Can anyone direct me to a page with xml in use? Something that can

Re: [PHP] XML vs Everything Else

2002-09-03 Thread Geoff Hankerson
Can anyone direct me to a page with xml in use? Something that can help me grasp what its all about. I didn't understand xml at all until I started using it . I asked pretty much the same question as you (what is it good for?). Now I will almost always use xml in any app I work on.

Re: [PHP] XML vs Everything Else

2002-09-03 Thread Rodrigo Dominguez
I'm writting an application, a control panel for a web site, and it will be great if I can separe data from presentation, I know that I have to work with XML and XSL but I didn't understand how it works. Can you give me a simple example? Let guess that a client request index.php, and I have

[PHP] Re: PHP: XML/XSL

2002-08-29 Thread Alexandru COSTIN
Hello For painless XML/XSL transformation on PHP, you should check Krysalis, the XML/XSL development framework. We have a lot of nice features packed in, like dynamic XML, multiple XSL transformations in a pipeline, etc. http://www.interakt.ro/products/Krysalis/

[PHP] PHP: XML/XSL

2002-08-27 Thread Alia Mikati
Hi everybody, I'm using Sablotron to transform XML with XSL and this is the PHP file: ?PHP $strXhtml = ?xml version=\1.0\?\n; $strXhtml = $strXhtml . htmlbody\n; $strXhtml = $strXhtml . pbfont color=\#800080 \Balance:/font/b/p\n; $strXhtml = $strXhtml . p align=\left\input type=\text\

[PHP] PHP xml: urgent!

2002-08-27 Thread Alia Mikati
Hello, I have an HTML file. I want to transform it to XML then filter it and transform it to another XML file. I used Sablotron with PHP to apply XSL to XML to filter the XML file. But I'm facing problems when I want to transform HTML to XML. I used TIDY but it seems it transforms to XHTML in

[PHP] xml scipt not working :/

2002-08-20 Thread Pafo
anyone know why this scritp dont read all the posts..? xml file: http://www.camelotherald.com/xml/servers.xml script in action: http://www.ant.nu/test.php if u look at the script in action, it prints out the xml file, except 1 line.. the output looks like this: Relicname Relictype Relicowner

[PHP] xml and a big script

2002-08-18 Thread Pafo
i was almost done with everything :) and ofcourse i find a problem with the xml parser... the parser is not collection some vital information, and i dont know why... the xmlsite is: http://www.camelotherald.com/xml/servers.xml the problem is market with a -- : server name=Guinevere

[PHP] XML XSL Issue

2002-08-18 Thread karthikeyan
Hi All, I have an XML file. I want to display a count of unique record(surname, forename) using XSL. In the below example there are 3 records out of which 1 is duplicate in that case I want to display using XSL [Total = 2] This is my xml file -- ?xml version=1.0

[PHP] xml and php

2002-08-15 Thread Pafo
iwill rephrase my question, where can i find good xml-php links? how would you extract all information about the Guinevere server in this xmlpage, http://www.camelotherald.com/xml/servers.xml its aprox in the middle of the list, and i want all information there so i could display it on a page.

Re: [PHP] PHP, XML and HTML-Tags

2002-08-13 Thread Analysis Solutions
On Tue, Aug 13, 2002 at 03:22:03PM +0200, Bernard wrote: I am using successfully the PHP XML-parser. But I have one problem. I like to include html tags into the texts and I don't want them to be interpreted by the parser. Have you tried putting the XML in CDATA sections? That's really

[PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made much progress on XML. I'm still confuse about XML. I had to write XML stuffs on the client-side with the build-in XML request and it doesn't make sense that the client

Re: [PHP] XML vs. PHP manual???

2002-07-23 Thread Analysis Solutions
On Tue, Jul 23, 2002 at 12:33:19PM -0400, Scott Fletcher wrote: I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. Thanks. But, you mean: http://www.analysisandsolutions.com/code/phpxml.htm I had to write XML stuffs on the client-side

Re: [PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
Ha ha, I'm so used to html instead of htm. :-) It have been my thought that I write a script as a post method to send data to the server then have hte PHP webserver do the dirty work. I haven't figure out how to get PHP to put in the xml stuffs into the data and send it to the credit bureau.

[PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML with PHP cURL.

2002-07-18 Thread Jay Blanchard
[snip] Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? [/snip] More details about the problem would be nice. How exactly do you want this to work? I have had no problems with cURL and PHP. Jay What was the best thing before sliced

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Analysis Solutions
On Thu, Jul 18, 2002 at 11:03:10AM -0400, Scott Fletcher wrote: Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? Well, I can offer help on the XML: http://www.analysisandsolutions.com/code/phpxml.htm --Dan --

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
Cool! I'm just getting started on XML. I read the documentation about XML and it doesn't look too hard. Unfortunately, it is written for the client side script. So, I barely am starting writing the test script for the server side and have it work with php and curl. At least, I know how to

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
More detail? I have successfully make the data transmission work through php and curl without xml. I just barely gotten started on xml. I read the documentation about how it work, but it is only for the client side. I'm going to have to read some documentation and figure out how to use xml in

[PHP] xml and max size of xml doc

2002-07-11 Thread Martin Towell
Hi y'all Has anyone found any problems with the xml parsing functions when the xml document gets quite large. eg, a doc with about 5000 lines (about 200KB) The problem that's occurring is that some of the elements are being broken in two parts If you require more details, please ask, as it's

RE: [PHP] XML Problem

2002-07-01 Thread Sebastian A.
% certain about this process... Could you give me any advice? -Original Message- From: Analysis Solutions [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 6:26 AM To: PHP List Subject: Re: [PHP] XML Problem Sire: On Sun, Jun 30, 2002 at 10:21:40PM +0200, Sebastian A. wrote: Later

Re: [PHP] XML Problem

2002-07-01 Thread Analysis Solutions
Sebastian: On Mon, Jul 01, 2002 at 07:36:34PM +0200, Sebastian A. wrote: I looked over the revised version of the document and unfortunately I still don't fully understand. I know that I have to save the data on each line, and then either display it or turn it into a variable. You put the

[PHP] XML Problem

2002-06-30 Thread Sebastian A.
Hello, I am having some problems parsing XML with PHP. Here is an example of my problem: Example 1: PAGE TAG1 SOME TEXT /TAG1 /PAGE When I try to use the expat XML functions I cannot parse TAG1 in the above example. I simply get nothing. However with the

Re: [PHP] XML Problem

2002-06-30 Thread Analysis Solutions
On Sun, Jun 30, 2002 at 05:58:59PM +0200, Sebastian A. wrote: I am having some problems parsing XML with PHP. Here is an example of my problem: The answer hasn't changed since the last time we had this same discussion back in early May. Search groups.google.com for message id

RE: [PHP] XML Problem

2002-06-30 Thread Sebastian A.
Message- From: Analysis Solutions [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 8:27 PM To: PHP List Subject: Re: [PHP] XML Problem On Sun, Jun 30, 2002 at 05:58:59PM +0200, Sebastian A. wrote: I am having some problems parsing XML with PHP. Here is an example of my problem

Re: [PHP] XML Problem

2002-06-30 Thread Analysis Solutions
Sire: On Sun, Jun 30, 2002 at 10:21:40PM +0200, Sebastian A. wrote: Later on, you make the $Cdata a string, $temp, and then the next time you use it: $Temp = $Data['TRADE-DATETIME'] You re-assign it again without using the data. Did I miss something? Yes. Further down was the default case,

[PHP] php, xml and flash

2002-06-16 Thread Henry
i'd like to use the flash xml sendAndLoad method to send a number of variables to a php script. php would process the variables and query a database and dynamically write an xml formatted response. and then obviously load it back into flash. however, i'm having problems with the initial step

[PHP] XML Feed

2002-06-14 Thread Necro
I am currently trying to implement XML Parsing on a site using the XML News Feed of another site. The site puts two versions of the news in its file though: - item titleTsunami 2265 Date, Demo/title linkhttp://www.shacknews.com/onearticle.x/20959/link /item - ITEM SUBJECTTsunami 2265

Re: [PHP] XML Feed

2002-06-14 Thread Analysis Solutions
On Fri, Jun 14, 2002 at 11:35:04PM +1000, Necro wrote: I am currently trying to implement XML Parsing on a site using the XML News Feed of another site. The site puts two versions of the news in its file though: - item titleTsunami 2265 Date, Demo/title

[PHP] XML and parameter entities

2002-06-14 Thread Pawel
Hello, I'm having a hard time getting expat to parse parameter entities and I'm wondering if any one tried this before (general entities work fine) sample xml: ?xml version='1.0'? !DOCTYPE alfs [ !ENTITY % common_entities SYSTEM 00-entities-00

[PHP] XML with PHP?

2002-06-12 Thread Scott Fletcher
Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web and I found there are 4 or 5 different PHP option for XML. Which should I use? The example of the XML is .. -- clip -- ?xml version=1.0 encoding=UTF-8? NetConnectRequest

RE: [PHP] XML with PHP?

2002-06-12 Thread Lazor, Ed
--xml -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: [PHP] XML with PHP? Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web

[PHP] XML to ARRAY

2002-06-01 Thread Christopher J. Crane
Here is a piece of code, that is close to doing what I want it to. The end result I would like to have is an array that is simple to work with. If the XML tag was issue-nameRED HAT/issue-name, I would like something like the following: $Tags['issue-name']. So I could print it out. Something

[PHP] !----XML Parsing

2002-05-31 Thread Crane, Christopher
Here is a piece of code, that is close to doing what I want it to. The end result I would like to have is an array that is simple to work with. If the XML tag was issue-nameRED HAT/issue-name, I would like something like the following: $Tags['issue-name']. So I could print it out. Something

[PHP] XML Transformation

2002-05-21 Thread José León Serna
Hello: I would like to perform XML transformations on my website, I have the xml file in a string and the xsl file in another string, I have tested sablotron, but it give me parse and encoding problems. Is there any good solution out there? By good I mean portable and reliable solutions,

[PHP] XML parser vs objects

2002-05-21 Thread Mirek Novak
Hi, is it possible to use methods of a class as a handlers in xml_set_element_handler(...)? How it can be done? TIA, M.N. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml parsing

2002-05-20 Thread Analysis Solutions
Hi: To be honest, I don't feel like wading through their example to figure out what's wrong. The way they're parsing doesn't seem very efficient to me. Check this tutorial/example out: http://www.analysisandsolutions.com/code/phpxml.htm Way cleaner and straight ahead. Enjoy, --Dan --

[PHP] xml parsing

2002-05-18 Thread Gerard Samuel
I got this example from Beginning PHP 4. Unfortunately, I cant get to wrox's site to see if there were any errata updates for this piece of code, but for the life of me, I dont know whats wrong with it. All its displaying is '-'. If anyone could direct me to where its broken, Ill be very

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
I hope I didn't sound impolite, I really didn't mean to offend you, because if it weren't for your tutorial I would probably still be trying to figure out how to parse attributes and get XML Content into variables. Anyway, the performance and efficiency doesn't really interest me at this point. I

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Analysis Solutions
On Wed, May 15, 2002 at 07:49:58PM +0200, Sebastian A. wrote: performance and efficiency doesn't really interest me at this point. I just want to get the thing working before I work on improving it. But your haste is making waste. Even funnier, in your haste, you're making more work for

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
Ok I see where you're going with this. Thanks a lot. I will be sure to improvise my code. -Original Message- From: Analysis Solutions [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 8:10 PM To: PHP List Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data On Wed

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-14 Thread Sebastian A.
: Monday, May 13, 2002 10:04 PM To: PHP List Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data On Mon, May 13, 2002 at 05:49:04PM +0200, Sebastian A. wrote: function elementContent($parser, $data, $attrs='') { global $tag, $p; $ti = sizeof( $tag ) - 1

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-14 Thread Analysis Solutions
Yo, Sebastian: On Tue, May 14, 2002 at 07:26:30PM +0200, Sebastian A. wrote: function startElement($parser, $name, $attrs='') { global $tag, $Data, $p; array_push( $tag, $name ); while ( list($Key,$Val) = each($attrs) ) { $p-attr_data[$name:$Key] =

[PHP] XML-parser

2002-05-13 Thread marcos1
Hello, I´m working on a little web shop solution for a school project, therefore I´m looking for a PHP XML-Parser or some source code I can get from somewhere. Has anybody a good link to a tut or something else.. -- Thanks in advance for your help, kind regards Marcos GMX - Die

Re: [PHP] XML-parser

2002-05-13 Thread Analysis Solutions
On Mon, May 13, 2002 at 02:00:49PM +0200, [EMAIL PROTECTED] wrote: Has anybody a good link to a tut or something else.. http://www.analysisandsolutions.com/code/phpxml.htm -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-13 Thread Sebastian A.
: PHP General List (PHP.NET) Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data Sunday, May 12, 2002, 6:39:31 PM, Sebastian A. wrote: Hello I have recently been trying to parse an XML document that has different content in the same tags. Here is an example: LIST_ITEM1/LIST_ITEM

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-13 Thread Analysis Solutions
On Mon, May 13, 2002 at 05:49:04PM +0200, Sebastian A. wrote: function elementContent($parser, $data, $attrs='') { global $tag, $p; $ti = sizeof( $tag ) - 1; if ( $tag[$ti] == 'LIST_ITEM' ) { $p-ART_ID[] = $data; } } You're not posting

[PHP] XML: Similiar Multiple Tags With Different Data

2002-05-12 Thread Sebastian A.
Hello I have recently been trying to parse an XML document that has different content in the same tags. Here is an example: LIST_ITEM1/LIST_ITEM LIST_ITEM2/LIST_ITEM LIST_ITEM3/LIST_ITEM ... I am trying to get the content from LIST_ITEM into an array. I want the content of the first LIST_ITEM

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-12 Thread Kjartan Mannes
Sunday, May 12, 2002, 6:39:31 PM, Sebastian A. wrote: Hello I have recently been trying to parse an XML document that has different content in the same tags. Here is an example: LIST_ITEM1/LIST_ITEM LIST_ITEM2/LIST_ITEM LIST_ITEM3/LIST_ITEM ... I am trying to get the content from

[PHP] XML creation / edit class?

2002-05-03 Thread David McInnis
I am looking for an extension / class that allow me to create and modify XML documents within PHP. I looked at the xml extensions packaged with PHP and it looks like these are used only for parsing XML. In addition to parsing the XML, I need to be able to add / edit and insert nodes. Best

Re: [PHP] XML to HTML?!

2002-05-02 Thread Miguel Cruz
On Wed, 1 May 2002, Fredrik Arild Takle wrote: Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 1 May 2002, Fredrik Arild Takle wrote: Wrap into a output buffer. ob_start, ob_get_contents This was neat. I did: ob_start();

Re: [PHP] XML to HTML?!

2002-05-01 Thread Fredrik Arild Takle
Wrap into a output buffer. ob_start, ob_get_contents This was neat. I did: ob_start(); $myvar = ob_get_contents(); But it still outputs the page, can I disable that? Regards Fredrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML to HTML?!

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Fredrik Arild Takle wrote: Wrap into a output buffer. ob_start, ob_get_contents This was neat. I did: ob_start(); $myvar = ob_get_contents(); But it still outputs the page, can I disable that? Read the output buffering section of the manual. Look for the word

Re: [PHP] XML to HTML?!

2002-05-01 Thread Fredrik Arild Takle
Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 1 May 2002, Fredrik Arild Takle wrote: Wrap into a output buffer. ob_start, ob_get_contents This was neat. I did: ob_start(); $myvar = ob_get_contents(); But it still outputs

[PHP] XML to HTML?!

2002-04-30 Thread Fredrik Arild Takle
Hi, this might be a silly question, but I really haven't used XML alot with PHP. I've parsed some XML, when I do xml_parse it outputs the html-codes. I want to make a variable out of it, so I can write it to a file. I've tried $output = xml_parse(); -- PHP General Mailing List

Re: [PHP] XML to HTML?!

2002-04-30 Thread Alexander Skwar
»Fredrik Arild Takle« sagte am 2002-04-30 um 18:48:37 +0200 : I've parsed some XML, when I do xml_parse it outputs the html-codes. Wrap into a output buffer. ob_start, ob_get_contents Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

[PHP] xml/xslt capability?

2002-04-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I want to get started with xml/xslt, I've read a few things about sablotron but am unsure what support my host is running. If any of you know anything about this subject would you be kind enough to look at the phpinfo() I've set up here:

RE: [PHP] xml/xslt capability?

2002-04-29 Thread Christoph Starkmann
Only one letter difference between PGP and PHP yet makes no sense... ;) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8zWnJHpvrrTa6L5oRAv5DAJ9Fp8vq7+PPqIiM1Mnqf5sGZlhD5wCfWqan TWH60NiXJh5ESsHP0QNLsUY= =dJq7

Re: [PHP] xml/xslt capability?

2002-04-29 Thread Henning
Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I want to get started with xml/xslt, I've read a few things about sablotron but am unsure what support my host is running. If any of you know anything about this subject would you be kind enough to look at the

Re: [PHP] xml/xslt capability?

2002-04-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Henning declared it seems you have this: http://www.php.net/manual/en/ref.xml.php Yes, I've read that thanks. xslt seems not to be supported by your provider, dunno how you can still use it, but i heard of some php classes

[PHP] XML Flatfile Database

2002-04-15 Thread Sebastian A.
Recently I have caught on to XML, and I think it truly is a good idea. Because XML was *made* to store data I believe an XML flatfile database is (perhaps) one of the best ways to store data because it can be easily exchanged. Therefore I would like to embark on the feat of trying to create

Re: [PHP] XML HELP

2002-04-10 Thread Michael Virnstein
Why don't you use this class...it's really good! http://sourceforge.net/projects/phpxpath/ Analysis Solutions [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey Christopher: On Mon, Apr 08, 2002 at 09:14:08PM -0400, Christopher J. Crane wrote: ok I

RE: [PHP] XML HELP

2002-04-10 Thread Crane, Christopher
ok I tried this code and the array is still empty. By the way, my code looked the way it did because the browser or my mail client cut it off. I had each of the functions on one line for easy reading but because of the wrap I changed it to how you had it, which is how I would normally do it if

RE: [PHP] XML HELP

2002-04-09 Thread Crane, Christopher
- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:21 AM To: Crane, Christopher Subject: Fw: [PHP] XML HELP - Original Message - From: Analysis Solutions [EMAIL PROTECTED] Newsgroups: php.general To: PHP List [EMAIL PROTECTED] Sent: Monday, April 08, 2002

Re: [PHP] XML HELP

2002-04-09 Thread Analysis Solutions
Christopher: On Tue, Apr 09, 2002 at 09:25:07AM -0400, Crane, Christopher wrote: The problem is now back to the beginning, I can not get the $Line value, which is the data I want to be pushed into an array. I did not get an error with the code below, but I did not get any information when

[PHP] XML HELP

2002-04-08 Thread Christopher J. Crane
I am new to using XML and PHP for that matter. I have made some great progress with the latter however. My current problem is that I am trying to parse a relatively simple XML file. The file can be found at http://quotes.nasdaq.com/quote.dll?page=xmlmode=stocksymbol=ikn. I used pieces of a sample

Re: [PHP] XML HELP

2002-04-08 Thread Analysis Solutions
On Mon, Apr 08, 2002 at 06:32:42PM -0400, Christopher J. Crane wrote: $file = http://quotes.nasdaq.com/quote.dll?page=xmlmode=stocksymbol=$sym;; ... snip ... while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { ... snip ... You've got a whole series of

Re: [PHP] XML HELP

2002-04-08 Thread Christopher J. Crane
ok I tried this at your suggestion $sym=ikn; $file = http://quotes.nasdaq.com/quote.dll?page=xmlmode=stocksymbol=$sym;; $StockStuff = array(); function startElement($parser, $name, $attribs) { print lt;font color=\#cc\$name/font; if (sizeof($attribs)) { while (list($k,

Re: [PHP] XML HELP

2002-04-08 Thread Analysis Solutions
Hey Christopher: On Mon, Apr 08, 2002 at 09:14:08PM -0400, Christopher J. Crane wrote: ok I tried this at your suggestion Not exactly. As mentioned, you've got all sorts of unneded stuff going on. To make sure you're on the right track, start with a new script with just the basics:

[PHP] xml-rpc for windows?

2002-04-07 Thread dietrich
does anyone know where i could find an XML-RPC-EPI dll? thx, dietrich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml-rpc for windows?

2002-04-07 Thread Tyler Longren
] To: [EMAIL PROTECTED] Sent: Sunday, April 07, 2002 11:29 PM Subject: [PHP] xml-rpc for windows? does anyone know where i could find an XML-RPC-EPI dll? thx, dietrich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing

Re: [PHP] xml-rpc for windows?

2002-04-07 Thread dietrich
Windows. At least I've heard it was in php 4.1.0. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: dietrich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 07, 2002 11:29 PM Subject: [PHP] xml-rpc for

[PHP] XML Comparison?

2002-03-25 Thread Chris Hilbert
I was wondering if anyone would know how I could go about checking two XML files for differences, similar to the diff command in *nix. I'm having a heck of a time getting a function written to achieve this task. Thanks, Chris Hilbert -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] XML Comparison?

2002-03-25 Thread Analysis Solutions
Chris: On Mon, Mar 25, 2002 at 08:38:16AM -0500, Chris Hilbert wrote: I was wondering if anyone would know how I could go about checking two XML files for differences, similar to the diff command in *nix. I'm having a heck of a time getting a function written to achieve this task. Which OS

Re: [PHP] XML char data parsing

2002-03-15 Thread Thalis A. Kalfigopoulos
If I send just a line of simple text (like The quick brown fox drowned) for XML parsing, why doesn't it call the function which I declare for character data handling? It doesn't even give me an error :-( Is it wrong to have plain text as input for XML parsing? Why, as a matter of fact,

Re: [PHP] XML char data parsing

2002-03-15 Thread Analysis Solutions
On Fri, Mar 15, 2002 at 10:34:28AM -0500, Thalis A. Kalfigopoulos wrote: [regarding error checking...] Well, as a matter of fact I do. Good, good. Dan, did you actually run this and got an error? Why, as a matter of fact, yes! :) The error I get is syntax error Enjoy, --Dan --

[PHP] XML parser questions

2002-03-15 Thread Thalis A. Kalfigopoulos
OK, I'm getting a bit confused about the well-formedness checking of expat. Doesn't expat do basic well-formedness checking? If I set empty start/endElement and charData handlers, and I parse: elem1 elem2text /elem1 /elem2 I get an error as expected about mismatched tags. But if I give:

[PHP] XML char data parsing

2002-03-14 Thread Thalis A. Kalfigopoulos
If I send just a line of simple text (like The quick brown fox drowned) for XML parsing, why doesn't it call the function which I declare for character data handling? It doesn't even give me an error :-( Is it wrong to have plain text as input for XML parsing? cheers, --t. -- PHP General

Re: [PHP] XML char data parsing

2002-03-14 Thread Analysis Solutions
On Thu, Mar 14, 2002 at 05:18:03PM -0500, Thalis A. Kalfigopoulos wrote: If I send just a line of simple text (like The quick brown fox drowned) for XML parsing, why doesn't it call the function which I declare for character data handling? It doesn't even give me an error :-( Is it wrong to

Re: [PHP] XML

2002-02-27 Thread S.Murali Krishna
I can't really get you, but I have done similar programs in php/xml I think if I could see the code or if I know the ultimate goal of you, I could able to solve the problem. On Tue, 26 Feb 2002, Tom Holton wrote: Hello, I have come across a strange error when using the XML parsing

<    2   3   4   5   6   7   8   9   >