RE: [PHP] XML + PHP is going to eat my shorts

2004-11-16 Thread Burhan Khalid
On Tue, 2004-11-16 at 09:01 -0600, Jay Blanchard wrote: [snip] xml_parser_set_option($this-parser, XML_OPTION_CASE_FOLDING, 0); xml_parser_set_option($this-parser, XML_OPTION_SKIP_WHITE, 1); [/snip] I had those in there as well...here is the first few liners of the XML source ?xml

RE: [PHP] XML + PHP is going to eat my shorts [SOLVED]

2004-11-16 Thread Burhan Khalid
On Tue, 2004-11-16 at 09:50 -0600, Jay Blanchard wrote: [snip] ?xml version=1.0 encoding=ISO-8859-1? [/snip] using fread the above line comae out like this(even though I was not echoing the line, just processing) ?xml version=\1.0\ encoding=\ISO-8859-1\? ...as soon as I added

RE: [PHP] XML Parser doesn't work when moved....

2004-11-15 Thread Gryffyn, Trevor
To: Jay Blanchard; [EMAIL PROTECTED] Subject: RE: [PHP] XML Parser doesn't work when moved [snip] Having added the following line echo XML Error . xml_error_string(xml_get_error_code($covadParser)) . br\n; just after the xml_parse PHP is reporting not well-formed (invalid

[PHP] XML Parser doesn't work when moved....

2004-11-10 Thread Jay Blanchard
Below is the code that work on a PHP 4.2.1 test server. For some reason it is not working and not throwing errors(set to E_ALL) on 4.3.7 server. Has anyone experienced this kind of error? Or can someone point me in the right direction? TVMIA! /* create a parser */ if(!($covadParser =

RE: [PHP] XML Parser doesn't work when moved....

2004-11-10 Thread Jay Blanchard
[snip] /* let's parse! */ if($readXML = fopen(XMLDIR.testRecp.xml, r)){ while($lineXML = fread($readXML, 4096)){ //echo $lineXML . br\n; xml_parse($covadParser, $lineXML, feof($readXML)); } } else { echo COULD NOT READ XML FILE\n; } /* clear

RE: [PHP] XML Parser doesn't work when moved....

2004-11-10 Thread Jay Blanchard
[snip] Having added the following line echo XML Error . xml_error_string(xml_get_error_code($covadParser)) . br\n; just after the xml_parse PHP is reporting not well-formed (invalid token) so I will have to explore. [/snip] Having beaten my head against the wall for severqal hours now, I am

[PHP] XML Signature verification in PHP

2004-11-03 Thread Rajesh Batchu
HI All, I am getting a xml document from my customer which is signed with XML Signature. Customer is Signing the document with xmlsec library ( parser is libxml2). I have to verify the signature on my side and do the rest of the processing. I saw sevaral examples on the

Re: [PHP] XML Signature verification in PHP

2004-11-03 Thread Christian Stocker
On Wed, 3 Nov 2004 22:51:53 -0800 (PST), Rajesh Batchu [EMAIL PROTECTED] wrote: HI All, I am getting a xml document from my customer which is signed with XML Signature. Customer is Signing the document with xmlsec library ( parser is libxml2). I have to verify the signature on my side

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

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... request nameJack/name account239048098324/account /request ... in a string and send it

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... request nameJack/name account239048098324/account /request ...

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

[PHP] XML parser for PHP5

2004-09-15 Thread Matthew Sims
Anyone know any good XML parsers that work with PHP5? Most of what I can find on freshmeat are still using PHP4 classes and Google isn't turning up much either. -- --Matthew Sims --http://killermookie.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
php.ini -Brent - Original Message - From: Josh Close [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 1:08 PM Subject: [PHP] xml tags interfere with php tags How do I get an xml tag to work with a php script? ?xml version=1.0? php

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Michal Migurski
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. ?= ''.'?xml version=1.0?'.'' ? ugly, huh? I'm not sure if there is a better way, but I use the above to prevent erroneous PHP parsing of xml declarations regardless of short_open_tags setting, and

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Larry E . Ullman
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. Either turn off the Short Tags setting in your php.ini file or have PHP echo out that line. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Steve Edberg
At 1:08 PM -0500 9/1/04, Josh Close wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh You probably want to turn the short-open-tags option off, so PHP doesn't recognize the ? as a start of a code block. Of course, if you use that in

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
I'll do something similar to this. I don't want to have to turn short tags off :P -Josh On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski [EMAIL PROTECTED] wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. ?= ''.'?xml

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Matt M.
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close [EMAIL PROTECTED] wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. you could just echo it at the top ?php echo '?xml version=1.0?';? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] xml tags interfere with php tags

2004-09-01 Thread Justin Palmer
Hi, print '?xml version=1.0?'; Regards, Justin -Original Message- From: Josh Close [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 11:08 AM To: PHP Subject: [PHP] xml tags interfere with php tags How do I get an xml tag to work with a php script? ?xml version=1.0

[PHP] XML session

2004-08-12 Thread Miguel Manso
Hi. I'm trying to create a session support where i can keep persistent objects. I'm using XML to structure the data in the session file. But i've come into a problem. When i execute the following code the (--) marked instruction simply breaks the function execution: $sess =

[PHP] XML Breaking Help!

2004-08-03 Thread Gerard Samuel
Im parsing a document, and its stopping prematurely. I get this error - not well-formed (invalid token) Its breaking on the word - Exposé in the document. Is the é an illegal character? Any ideas how to work around this??? Thanks for any pointers... -- PHP General Mailing List

[PHP] XML validation with XML Schema

2004-07-30 Thread Matias Bagini
Is there any way to validate an XML with XML Schema using PHP4... I need something like the bool DOMDocument-schemaValidate ( string filename) that exists on PHP5 Thanks, Matias. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML validation with XML Schema

2004-07-30 Thread Christian Stocker
Hi On Fri, 30 Jul 2004 14:25:44 -0300, Matias Bagini [EMAIL PROTECTED] wrote: Is there any way to validate an XML with XML Schema using PHP4... I need something like the bool DOMDocument-schemaValidate ( string filename) No, not implemented in PHP 4. The Schema Implementatin of libxml2 is

[PHP] XML Cdata problem

2004-06-30 Thread Mathieu Dumoulin
PHP 4.3.7 on Linux Red Hat 7.3 full patch and updates, Expat expat_1.95.2 Problem: I am reading the XML file below and at path: advantage/route/origin/status/ The CDATA inside the STATUS node cannot be read (Current value 1900), there isnt much information on how to use the EXPAT library on

[PHP] XML describing a form

2004-06-30 Thread Pierre
Hi all, I have to create a form from a xml containing data about the form, but I really don't know how to process? I can ask the xml structure I want but I don't know what is better Please if you have any information about this? My harder part is how handle a combo box ?(xml part and php parsing

Re: [PHP] XML describing a form

2004-06-30 Thread eoghan
My harder part is how handle a combo box ?(xml part and php parsing part) Thanks for all Pierre this may be of help to you http://www.topxml.com/xsltStylesheets/xslt_html.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML describing a form

2004-06-30 Thread Pierre
Yes I think so.thanks a lot And Please all,can you say here the most appreciated and usefull links of php you have, cause I'm French and don't know English website about php I've found some with google but there's more I guess so about php xml and mysql thanks a lot. Pierre -Message

Re: [PHP] XML describing a form

2004-06-30 Thread eoghan
Yes I think so.thanks a lot And Please all,can you say here the most appreciated and usefull links of php you have, cause I'm French and don't know English website about php I've found some with google but there's more I guess so about php xml and mysql thanks a lot. try this: http://www.tribal

[PHP] XML...

2004-06-29 Thread Russell P Jones
Any ideas on easy ways to trouble shoot problems in XML. I keep getting invalid character errors and I dont have a good way to find the problem and correct it. Russ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML...

2004-06-29 Thread Justin Patrin
I've gotten that before and it was international (Extended ASCII) characters which made this happen. I ended up doing a utf8_encode on the data before I entered it into the XML, then a utf8_decode after I processed the XML. If you're reading someone else's file, I don't know what to say... On

[PHP] xml - xslt - xsl:fo - pdf

2004-05-24 Thread juan vazquez
Hi, I am trying to transform a xsl:fo file to pdf. I generate xml files from mysql and I can convert them to xsl:fo using xslt but I can't find information for the last step (XSL:FO to PDF) I just know that a formatter is needed but all what I found where java, jade or .net based

Re: [PHP] xml - xslt - xsl:fo - pdf

2004-05-24 Thread Ray Hunter
On Mon, 2004-05-24 at 10:53, juan vazquez wrote: Hi, I am trying to transform a xsl:fo file to pdf. I generate xml files from mysql and I can convert them to xsl:fo using xslt but I can't find information for the last step (XSL:FO to PDF) I just know that a formatter is needed but all what I

Re: [PHP] xml - xslt - xsl:fo - pdf

2004-05-24 Thread Yann Larrivee
You need the pear packadge XML_fo2PDF http://pear.php.net/package/XML_fo2pdf Yann On Mon, 2004-05-24 at 15:22, Ray Hunter wrote: On Mon, 2004-05-24 at 10:53, juan vazquez wrote: Hi, I am trying to transform a xsl:fo file to pdf. I generate xml files from mysql and I can convert them to

[PHP] XML problem

2004-05-18 Thread Phpu
Hi, I know that this is not an xml list but maybe you could help me. I'm looking for a good tutorial in xml or a list with most of the xml tags. I've googled for it but i can't find anything. Could someone send me a link to that kind of tutorial? Thanks for your reply !!! Stefan

Re: [PHP] XML problem

2004-05-18 Thread Miguel J. Jiménez
Try the one at http://www.w3schools.com/ Phpu wrote: Hi, I know that this is not an xml list but maybe you could help me. I'm looking for a good tutorial in xml or a list with most of the xml tags. I've googled for it but i can't find anything. Could someone send me a link to that kind of

Re: [PHP] XML problem

2004-05-18 Thread Brent Clark
Hi, I know that this is not an xml list but maybe you could help me. 'm looking for a good tutorial in xml or a list with most of the xml tags. I've googled for it but i can't find anything. Could someone send me a link to that kind of tutorial? http://www.zend.com/zend/tut/index.php Kind

Re: [PHP] XML problem

2004-05-18 Thread Michal Migurski
I'm looking for a good tutorial in xml or a list with most of the xml tags. I've googled for it but i can't find anything. Could someone send me a link to that kind of tutorial? There are no xml tags as such; XML defines a grammar but not a vocabulary. The actual tags used depend on the

[PHP] xml ignore whitespace

2004-05-17 Thread Gabino Travassos
Howdy Here's where I'm at. $DomDocument = domxml_open_file(myFile.xml); $RootDomNode = $DomDocument-document_element(); print_r($RootDomNode); // just to test $listItems = $RootDomNode - child_nodes(); print_r(brthere are . count($listItems). child nodesbr); // 35! print_r($listItems); When

[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

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

[PHP] XML Parser Functions - problem interpreting an xml file

2004-04-12 Thread Kai Hackemesser
Hello, I have created my own handler following the examples in the manual. It works fine for XML files I created for myself. Now I tried one file given by someone else, but I get as result always following error: junk after document element in line 1, column 0. I send you a part of the XML file

Re: [PHP] XML Parser Functions - problem interpreting an xml file

2004-04-12 Thread Chris Boget
I send you a part of the XML file (- content), maybe you can tell me why it cant be interpreted. It looks like it doesn't like the ? tag? Do you have short tags enabled? If so, you might want to disable them. Just to test this theory, try to add the following at the top of your script and see

Re: [PHP] XML Parser Functions - problem interpreting an xml file

2004-04-12 Thread Kai Hackemesser
This didn't help, since the problem is in an file which doesn't pass the PHP interpreter. Next idea? Regards, Kai Chris Boget [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I send you a part of the XML file (- content), maybe you can tell me why it cant be interpreted. It

[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

[PHP] XML Parsing

2004-04-01 Thread Nunners
Hi Folks, I've got an XML output from a website (http://tawl.holiday.co.uk/EntryPoints/TopXasXML.aspx?WebsiteGUID=E325538D-5 B1E-4EC6-B888-35EB46418DB9) and want to display it's output on one of my pages I've looked at using the PHP XML Parse functions, however, I'm not certain how to get

RE: [PHP] XML Parsing

2004-04-01 Thread electroteque
I found the XML_Tree class really easy to use, highly recommend it. -Original Message- From: Nunners [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:40 PM To: [EMAIL PROTECTED] Subject: [PHP] XML Parsing Hi Folks, I've got an XML output from a website (http

RE: [PHP] XML Parsing

2004-04-01 Thread Nunners
Is there a way of doing this without installing PEAR? I.e. a decent PHP Class? -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 13:52 To: Nunners; [EMAIL PROTECTED] Subject: RE: [PHP] XML Parsing I found the XML_Tree class really easy to use, highly

[PHP] XML architecture question

2004-03-14 Thread Jabro
Hi List, hope somebody here can help me out here. For a new page I'm designing I see one problem coming up. As I need to generate varius outputs such as HTML or PDF I think going over XML isn't a bad idea. I create one XSL for my output and change the XML for Customer A or B behind it. Now how do

Re: [PHP] XML architecture question

2004-03-14 Thread Ray Hunter
On Sun, 2004-03-14 at 13:17, Jabro wrote: Hi List, hope somebody here can help me out here. For a new page I'm designing I see one problem coming up. As I need to generate varius outputs such as HTML or PDF I think going over XML isn't a bad idea. I create one XSL for my output and change

Re: [PHP] XML Tool Needed

2004-02-26 Thread Burhan Khalid
Nick Wilson wrote: * and then Burhan Khalid declared Nick Wilson wrote: I'm looking for a tool that will parse an xml doc into somthing like an associative array for me. Basically somthing to make life simple when dealing with Amazon XML docs. I have been all thru hotscripts and even tried

[PHP] XML Tool Needed

2004-02-24 Thread Nick Wilson
Hi all, I'm looking for a tool that will parse an xml doc into somthing like an associative array for me. Basically somthing to make life simple when dealing with Amazon XML docs. I have been all thru hotscripts and even tried doing it myself but my time is limited and the tools out there are

RE: [PHP] XML Tool Needed

2004-02-24 Thread Jay Blanchard
[snip] I'm looking for a tool that will parse an xml doc into somthing like an associative array for me. Basically somthing to make life simple when dealing with Amazon XML docs. I have been all thru hotscripts and even tried doing it myself but my time is limited and the tools out there are

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-22 Thread Rob Richards
From: Vivian Steller i now can use the following syntax to set the namespaceUri of a node: ?php $element = new DomElement(tagname, value, http://namespaceUri;); // or $element = new DomElement(pref:tagname, value, http://namespaceUri;); // works as well ?

[PHP] Re: [PHP-XML-DEV] PHP5: ext/dom: Namespace Prefix unexpected behavior

2004-02-18 Thread Rob Richards
I thought that setting $root-prefix will set the prefix and the namespaceUri to the other domain... but it seems to me that the parser doesn't see the xmlns:anotherprefix as a prefix-declaration? maybe i just misunderstood something, so please correct me if so. The current behavior is wrong

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-17 Thread Vivian Steller
Rob Richards wrote: From: Christian Stocker $node-setAttributeNS(http://www.w3.org/2000/xmlns/;, xmlns:b, http://www.somedomain.de/;); IMHO, that would be very confusing. I liked the idea by vivian with a third optional namespaceURI argument for the element object, so that at least

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Vivian Steller
Christian Stocker wrote: ... Vivian, it's not possible the set the namespace according to the W3C standard, except with createElementNS(). As Adam said, in PHP 4, there was the option set_namespace, which isn't ported to PHP5 (yet). Maybe we should port that function as well, to allow some

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
Porting the setNamespace function to PHP5 would be nice. Another solution could be the possibility to append a namespace-node (is the domnamespacenode class currently used by any functions?) or the setAttribute checks wether some xmlns/xmlns: attribute is set and updates namespaceUri

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Christian Stocker
On 2/16/04 12:07 PM, Rob Richards wrote: Porting the setNamespace function to PHP5 would be nice. Another solution could be the possibility to append a namespace-node (is the domnamespacenode class currently used by any functions?) or the setAttribute checks wether some xmlns/xmlns: attribute

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
From: Christian Stocker $node-setAttributeNS(http://www.w3.org/2000/xmlns/;, xmlns:b, http://www.somedomain.de/;); IMHO, that would be very confusing. I liked the idea by vivian with a third optional namespaceURI argument for the element object, so that at least you can use your own

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-15 Thread Christian Stocker
On 2/16/04 1:24 AM, Adam Bregenzer wrote: On Sun, 2004-02-15 at 19:04, Vivian Steller wrote: As you can see it is impossible to set the namespace manually! I tried to set it with the help of a DomNamespaceNode-object but those objects are no real nodes (why!?!) and the consequence is that you

Re: [PHP] XML and Excel

2004-02-10 Thread Phillip Jackson
, 2004 12:42 PM Subject: Re: [PHP] XML and Excel Create native xls files, there are at least two classes that can help you, here is one: http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/ Jake McHenry wrote: Hi everyone. Since my last post of outputing to excel, I have

Re: [PHP] XML and Excel

2004-02-10 Thread Jake McHenry
AM Subject: Re: [PHP] XML and Excel Please post your solution to the group for reference. ~phillip Jake McHenry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] XML and Excel

2004-02-10 Thread Jake McHenry
- Original Message - From: Phillip Jackson [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 4:53 PM Subject: Re: [PHP] XML and Excel sure; if it doesn't compromise security for you. ~Phillip - Original Message - From: Jake McHenry

[PHP] XML and Excel

2004-02-09 Thread Jake McHenry
Hi everyone. Since my last post of outputing to excel, I have converted my output to XML, quite happy with myself. It looks perfect. Perfect on my set that is. I have win xp with office xp. Excel with office xp recognizes XML. Office 2000, which the rest of my company is using, doesn't. Does

Re: [PHP] XML and Excel

2004-02-09 Thread Marek Kilimajer
Create native xls files, there are at least two classes that can help you, here is one: http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/ Jake McHenry wrote: Hi everyone. Since my last post of outputing to excel, I have converted my output to XML, quite happy with myself. It

Re: [PHP] XML and Excel

2004-02-09 Thread Jake McHenry
- Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 12:42 PM Subject: Re: [PHP] XML and Excel Create native xls files, there are at least two classes that can help you, here is one: http

[PHP] xml posts

2004-02-04 Thread Diana Castillo
does anyone know why some xml applications that work when sent with active-x objects dont work when I send the xml with php instead? what can I do to make them arrive in the same way as they do when sent with active-x objects? thank you , -- Diana Castillo -- PHP General Mailing List

[PHP] Xml documents to html

2004-01-26 Thread John
Hi, How can I show xml files which have been created in MS Word, in a browser as ie Html. Is this posible and what would it take. Thanks John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Xml documents to html

2004-01-26 Thread Jay Blanchard
[snip] How can I show xml files which have been created in MS Word, in a browser as ie Html. Is this posible and what would it take. [/snip] Yes, it is possible. See the XSLT reference at http://www.w3c.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Xml documents to html

2004-01-26 Thread memoimyself
Hi John, On 26 Jan 2004 at 21:42, John wrote: How can I show xml files which have been created in MS Word, in a browser as ie Html. Is this posible and what would it take. The short answer to your question is Yes, it's possible. As for what it would take, the answer is a little longer.

[PHP] XML?

2004-01-09 Thread Jake McHenry
Hi everyone, Can someone point me in the right direction towards creating and implementing XML with php? I've heard it can make things much easier on me, and would like more info on it. Also, if anyone has any storys from using it, might give me an idea of what I'm getting into. Is it easy to

Re: [PHP] XML?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 00:30, Jake McHenry wrote: Can someone point me in the right direction towards creating and implementing XML with php? I've heard it can make things much easier on me, and would like more info on it. Also, if anyone has any storys from using it, might give me an idea of

RE: [PHP] XML?

2004-01-09 Thread Jake McHenry
McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 9:48 AM To: 'Php-general' Subject: Re: [PHP] XML? On Fri, 2004-01-09 at 00:30, Jake McHenry wrote: Can someone

[PHP] XML/HTML encoding?

2004-01-09 Thread Vincent Jansen
I'm doing some XML processing with PHP5 I'm using UTF-8 encoding When I look at my xml doc it looks something like ?xml version=1.0 ? doc textdotted e (ë) works/text /doc (I hope you see a dotted e) After xslt I end up with a html document with a souce

RE: [PHP] XML?

2004-01-09 Thread Ray Hunter
. How does php get the data from the xml docs? Loads up and parses the document. I guess I'm just looking for info on how to use it with php. XML: http://us2.php.net/manual/en/ref.xml.php DOM XML: http://us2.php.net/manual/en/ref.domxml.php That should get you started. There are many uses for xml

Re: [PHP] XML/HTML encoding?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 08:23, Vincent Jansen wrote: I'm doing some XML processing with PHP5 I'm using UTF-8 encoding When I look at my xml doc it looks something like ?xml version=1.0 ? doc textdotted e (ë) works/text /doc (I hope you see a dotted e)

RE: [PHP] XML/HTML encoding?

2004-01-09 Thread Vincent Jansen
I see this using MSIE 6 But in Mozilla 1.5 I get ë for ë I'm hoping this is fixable without changing browser settings -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: vrijdag 9 januari 2004 16:34 To: 'Php-general' Subject: Re: [PHP] XML/HTML encoding? On Fri, 2004

RE: [PHP] XML/HTML encoding?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 08:44, Vincent Jansen wrote: I see this using MSIE 6 But in Mozilla 1.5 I get ë for ë I'm hoping this is fixable without changing browser settings Do you have this page accessible via the web that i can take a look at it. -- Ray -- PHP General Mailing List

[PHP] XML Strategdy

2003-12-11 Thread Mark Roberts
I am about to embark on a project that requires me to access several mysql files (customer order entry), gather the information and output an XML formatted file that will be used as an input file to another accounting application. Question is this. As a seasoned developer, my natural instinct is

Re: [PHP] XML Strategdy

2003-12-11 Thread Matt Matijevich
snip Question is this. As a seasoned developer, my natural instinct is to just write a script(s) to access all the information that I need and write the appropriate information out to the file. Is there a better way to do this? Is there some type of application that has been developed that will

[PHP] Re: PHP, XML, UTF-8

2003-12-11 Thread Lucian Cozma
Answer: Multi-Byte String Functions. You could take a look at the function: string mb_convert_encoding ( string str, string to-encoding [, mixed from-encoding] ) You must have php_mbstring extension enabled in your php.ini file. Regards, Lucian COZMA Russell P Jones [EMAIL PROTECTED] wrote

[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

[PHP] Re: PHP, XML, UTF-8

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 04:37 PM, Russell P Jones wrote: 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

[PHP] XML XSLT

2003-12-05 Thread Nick Wilson
Hi all, under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML XSLT

2003-12-05 Thread Burhan Khalid
Nick Wilson wrote: Hi all, under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... http://pear.php.net http://www.phpclasses.org -- Burhan Khalid phplist[at]meidomus[dot]com

Re: [PHP] XML XSLT

2003-12-05 Thread Nick Wilson
* and then Burhan Khalid declared under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... http://pear.php.net http://www.phpclasses.org Thanks, hard to beleive I've not

[PHP] XML, strings and foreign (swedish/danish) characters

2003-12-02 Thread Victor Spång Arthursson
I'm on the point of almost giving up trying to get XML and PHP to sing along, but I'll throw out a question here first. I'm having severe problems getting PHP and XML to work with XML-files that contains foreign characters. Doesnt matter if i type the foreign characters in by myself hardcoded

Re: [PHP] XML, strings and foreign (swedish/danish) characters

2003-12-02 Thread Marek Kilimajer
Victor Spng Arthursson wrote: I'm on the point of almost giving up trying to get XML and PHP to sing along, but I'll throw out a question here first. I'm having severe problems getting PHP and XML to work with XML-files that contains foreign characters. Doesnt matter if i type the foreign

[PHP] xml parser und bestehende variablen - multilinguale app

2003-11-23 Thread Merlin
Hallo zusammen, ich möchte gerne meine bestehende app in mehreren Sprachen anbieten. Dazu habe ich mir ein xml parser package installiert welches in der Lage ist aus xml dateien inhalte einzufügen. Zum Bsp sieht das xml file so aus: enexample/en debeispiel/de Das funktioniert so weit. Das

Re: [PHP] xml parser und bestehende variablen - multilinguale app

2003-11-23 Thread Evan Nemerson
How are you parsing the XML? If you read the values into a PHP variable, and you're confident in the contents of the string, you could use eval()... Also, preg_replace_callback() may be useful. If you provide a bit more example, it may be more easy to help. In any case, I think your variable

Re: [PHP] XML Parsing....

2003-11-21 Thread Evan Nemerson
On Thursday 20 November 2003 08:18 am, Scott Fletcher wrote: Hi Everyone! I'm having a little trouble understanding how exactly to use the XML parser. I haven't found the right settings to set up the XML Parser's option because of no definition of the encoding setting in the XML tags I

[PHP] XML Parsing....

2003-11-20 Thread Scott Fletcher
Hi Everyone! I'm having a little trouble understanding how exactly to use the XML parser. I haven't found the right settings to set up the XML Parser's option because of no definition of the encoding setting in the XML tags I received. So, I'll post the script here and hope to get some

[PHP] Re: greek in php-xml

2003-11-17 Thread Lucian Cozma
Send me a piece of the xml file you're having problems with. I'll make it work (output a utf-8 html with greek characters). BTW, do you use DOM or just the xml_parser_create functions? Pnp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tried that, but still i got weird symbols.

[PHP] greek in 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

[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

Re: [PHP] php-xml

2003-11-17 Thread Becoming Digital
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 xmlparses params. But the output is a bunch

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 the

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

<    1   2   3   4   5   6   7   8   9   >