[PHP] PHP/XML/XSLT

2007-09-13 Thread Mikey
For better (or in my view worse) the company I work for uses the above combination for rendering it's XHTML. Recent we upgraded our version of libxslt from 1.1.9 to 1.1.17 and for some reason we have lost our error reporting. Unfortunately we have not lost the errors and so are forced with co

Re: [PHP] PHP & XML

2004-10-27 Thread Dan Joseph
> Look at the SOAP functions. There's a SOAP client & SOAP server. The > applications use SOAP calls to transfer their XML messages over the > Intenet, typically http/https, but could also use smtp for transport. oh... good idea, I didn't even think of SOAP. I'll check with our other developer

Re: [PHP] PHP & XML

2004-10-27 Thread Bill McCuistion
Dan Joseph wrote: >> how is the xml being sent to you from the other place on the internet? is >> it being posted in a form, etc.? > > It won't be thru a form. I guess it'll be a direct send, he'll format > something like... > > >Jack >239048098324 > > > ... in a string and send it o

Re: [PHP] PHP & XML

2004-10-27 Thread Dan Joseph
> how is the xml being sent to you from the other place on the internet? is > it being posted in a form, etc.? It won't be thru a form. I guess it'll be a direct send, he'll format something like... Jack 239048098324 ... in a string and send it over. What methods are best suited for so

[PHP] PHP & XML

2004-10-27 Thread Dan Joseph
Hi All, Just looking to be pointed in the right direction... I've googled and all that, but don't know what exactly I should be looking for. I am writing an XML application with PHP. Side one - send XML To side two and wait for a response: Side two - sit and wait for side one to send XML, th

Re: [PHP] PHP->XML Parse Problem

2004-05-11 Thread Chris Hayes
At 13:44 11-5-04, you wrote: I wrote a script to parse an XML doc in straightforward PHP, but then decide to write it as objects but now I have a problem, that I hope someone with a little bit more experience can look at: Im at my wits end and would appreciate any help, im getting no errors as suc

[PHP] PHP->XML Parse Problem

2004-05-11 Thread Mendle
I wrote a script to parse an XML doc in straightforward PHP, but then decide to write it as objects but now I have a problem, that I hope someone with a little bit more experience can look at: Im at my wits end and would appreciate any help, im getting no errors as such, but it is not parsing the

[PHP] PHP & XML

2004-04-08 Thread Chris Boget
Could someone point me in the right direction to learn how I can programatically validate a XML document against a XML schema? I've looked through the documentation but was unable to find any thing of any relevance (or so my xml newbie mind thought). thnx, Chris -- PHP General Mailing List (h

[PHP] PHP, XML, UTF-8

2003-12-08 Thread Russell P Jones
Im storing a lot of user-entered data in XML files but i have a problem with folks submitting stuff just by copying and pasting from microsoft word. "Smart Quotes" and other awkward text then gets submitted and ruins the xml, meaning i am searching and replacing item by item to replace stuff. Does

Re: [PHP] php-xml

2003-11-17 Thread pnp
I think i found it... thank you for trying to help. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-xml

2003-11-17 Thread Curt Zirzow
* Thus wrote pnp ([EMAIL PROTECTED]): > Hi, I'm developing a web site for a greek company and I want to show some > greek texts from an xml file to an html page. The pages encoding is utf-8. > So is the xml file and the xmlparses params. But the output is a bunch of > ???... You need to set th

Re: [PHP] php-xml

2003-11-17 Thread Becoming Digital
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, 17 November, 2003 05:42 Subject: [PHP] php-xml Hi, I'm developing a web site for a greek company and I want to show some greek texts from an xml file to an html page. The pages encoding is utf-8. So is the xml file and the

[PHP] php-xml

2003-11-17 Thread pnp
Hi, I'm developing a web site for a greek company and I want to show some greek texts from an xml file to an html page. The pages encoding is utf-8. So is the xml file and the xmlparses params. But the output is a bunch of ???... What am I doing wrong? Is there any way to do this? Thanks in a

Re: [PHP] PHP XML Reference

2003-03-13 Thread Javagal S Reddy
Hi Tim, I have used the big ass "Professional PHP 4 XML" book from Wrox for the last 6 months, and i have picked up immense knowledge from that resource. Infact i have gone up in my career to being the lead web developer in my team...and i must atribute it to this book. You can find more info

[PHP] PHP XML Reference

2003-03-13 Thread Tim Funk
Hi, I am new to PHP, however i have a good handle on C programming and therefore hope to apply those conceps to PHP programming quickly. I am looking for a print reference that can help me to construct a web-based front-end for an application using XML. Any help in this regard will bemuch appr

[PHP] Php +Xml?

2003-03-07 Thread Dhaval Desai
Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. How do I install xml? I am totally new to Xmland want to start somewhere... -Dhaval

[PHP] php, xml and mysql with netscape and ie

2003-02-19 Thread Sunfire
hi.. was just wondering when i use php xml and mysql (standard xml) it seems that netscape 4.7 and below wont see the web page with results from a mysql query on them... we dont know about ie5 or below yet but does anybody know why this is or how to fix it? the nature of the web pages is a table b

[PHP] PHP + XML

2003-02-17 Thread Sandy Pleyte
Hi, I have a problem with PHP and XML, I can't get the right data out of the XML file. I made a small example of what I want: --- Code --- function startElement($xml_parser, $name, $attrs) { echo "[$name]";} function externalEntityRefHandler($xml_parser, $openEntityNames, $base, $systemId,

[PHP] PHP: XML + XSL

2002-12-18 Thread Hristina
hello! I have the following problem: I want to display text from nodes in xsm file, but after every text to put picture with link. The rows above dispay the text correctly in

[PHP] PHP: XML + XSL

2002-12-17 Thread Hristina
Hello falks! I could not enter javascript into my xsl file. Does anyone know how to do it? Thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP XML mailing list

2002-10-29 Thread Chris Boget
Are any of you subscribed to the above list? If so, do you ever see any traffic on it? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & XML

2002-10-16 Thread Chris Boget
> > Do you realize more benifit for the back end > > processes when using XML that makes any additional time it takes > > to display a page to the user worth it? > Just ask the user if they really want to wait longer for something they > can't even see, just so you can use the latest buzzword

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
At 09:25 AM 10/15/02 -0500, Chris Boget wrote: > Do you realize more benifit for the back end > processes when using XML that makes any additional time it takes > to display a page to the user worth it? Just ask the user if they really want to wait longer for something they can't even see,

Re: [PHP] PHP & XML

2002-10-15 Thread .: B i g D o g :.
On Tue, 2002-10-15 at 15:03, Chris Boget wrote: > > Here are some ideas you might want to review these options: > > Other people have suggested variations of the below so I'll just respond > here to cut down on the bandwidth. > > > 1. Try storing the data in the database as xml files them selve

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
At 09:25 AM 10/15/02 -0500, Chris Boget wrote: >Let me preface this by saying that I know the benefits of using >XML It seems to me most of the benefits of XML actually go to the hardware and network suppliers. They get to sell you bigger storage for the bloated data, faster processors for the m

Re: [PHP] PHP & XML

2002-10-15 Thread Chris Boget
> Here are some ideas you might want to review these options: Other people have suggested variations of the below so I'll just respond here to cut down on the bandwidth. > 1. Try storing the data in the database as xml files them selves. You > then do not have to create the xml file. This wil

Re: [PHP] PHP & XML

2002-10-15 Thread .: B i g D o g :.
Chris, Here are some ideas you might want to review these options: 1. Try storing the data in the database as xml files them selves. You then do not have to create the xml file. This will no doubt increase your database size. 2. Store your xml templates in the database for faster retrieval.

Re: [PHP] PHP & XML

2002-10-15 Thread Geoff Hankerson
A few ideas: 1. I have been setting up a system to do almost exactly what you are doing (database --> xml --> xslt-->html via a custom class) and have not noticed any significant performance hit, but this is not in production so your mileage may vary, but my gut feeling is the performance hit i

Re: [PHP] PHP & XML

2002-10-15 Thread Maxim Maletsky
"Chris Boget" <[EMAIL PROTECTED]> wrote... : > Let me preface this by saying that I know the benefits of using > XML with regards to portability and extensibility. Yes, there are many benefits. > Here is the issue I face. I have all of my data stored in a MySQL > database. I'm considering re

[PHP] PHP & XML

2002-10-15 Thread Chris Boget
Let me preface this by saying that I know the benefits of using XML with regards to portability and extensibility. Here is the issue I face. I have all of my data stored in a MySQL database. I'm considering reworking my website so that it uses XML (after being converted from resultant records in

[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

[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] PHP: XML/XSL

2002-08-26 Thread Alia Mikati
Hi everybody, I'm using Sablotron to transform XML with XSL and this is the PHP file: \n"; $strXhtml = $strXhtml . "\n"; $strXhtml = $strXhtml . "Balance:\n"; $strXhtml = $strXhtml . "\n"; $strXhtml = $strXhtml .""; //echo(trim($strXhtml)); include("XSLTransformer.php"); $xml=$strXhtml; $xsl="

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] PHP, XML and HTML-Tags

2002-08-13 Thread Bernard
Hi, 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. But I can't prevent it. It tried < and &rt;, but they get interpreted as "<" and ">", and so I get an error message by the pa

[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 o

[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/) T

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

[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: [EM

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

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] 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]

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 .

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 b

[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,

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 () > which causes PHP to retu

Re: [PHP] PHP & XML

2001-12-07 Thread Mike Eheler
You could also do it like: ' ?> Mike Steve Haemelinck wrote: >Hi Guys > >I am developing with PHP and XML. Now I experience some problem with the >processing instructions of xml () >which causes PHP to return a parsing error. >This is logical because PHP. Does anybody got an idea how to solve

Re: [PHP] PHP & XML

2001-12-07 Thread Rasmus Lerdorf
No, you need to disable short_tags and use for all your PHP tags if you are going to mix PHP and XML tags in the same file. -Rasmus On Fri, 7 Dec 2001, Steve Haemelinck wrote: > Hi Guys > > I am developing with PHP and XML. Now I experience some problem with the > processing instructions of

[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 () which causes PHP to return a parsing error. This is logical because http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 > & ? 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 i

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 > & or ", so it's expecting a semicolon. replacing it with & fixed the XML error. Thanks! > http://cupe.ca/ne

Re: [PHP] PHP & XML Parsing

2001-05-22 Thread Mike Gifford
e > 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

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, > &

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 & or ", so it's expecting a semicolon. http://cupe.ca/news/cupenews/showitem.asp?ID=2823&cl=1 Just yesterday I discovered a program called XML Spy whi

[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: http://www.airdiv-cupe.org/portal/newsfeed_new_parser.php

[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]