Re: [PHP] XML and :

2009-02-24 Thread Per Jessen
Merlin Morgenstern wrote: > Hi there, > > I am trying to pars an XML file with php. This works if the xml tag > looks like this: 88 > In that case I retrieve the info: $xml->anbieternr > > But now the tag looks different like this: > 88 > > The command $xml->imo:anbieternr does not work in that

Re: [PHP] XML and :

2009-02-24 Thread mike
On Tue, Feb 24, 2009 at 6:51 AM, Merlin Morgenstern wrote: > The command $xml->imo:anbieternr does not work in that case. > > Has somebody an idea how to adress this? you could cheat and string replace the node prefix in the document imo: to imo_ and then you can use simplexml. it's an ugly hac

Re: [PHP] XML and :

2009-02-24 Thread Andrew Ballard
On Tue, Feb 24, 2009 at 9:51 AM, Merlin Morgenstern wrote: > Hi there, > > I am trying to pars an XML file with php. This works if the xml tag looks > like this: 88 > In that case I retrieve the info: $xml->anbieternr > > But now the tag looks different like this: > 88 > > The command $xml->imo:an

[PHP] XML and :

2009-02-24 Thread Merlin Morgenstern
Hi there, I am trying to pars an XML file with php. This works if the xml tag looks like this: 88 In that case I retrieve the info: $xml->anbieternr But now the tag looks different like this: 88 The command $xml->imo:anbieternr does not work in that case. Has somebody an idea how to adress

Re: [PHP] XML and htmlentities conditionally?

2006-01-29 Thread Adam Hubscher
Brian V Bonini wrote: On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote: I have a block of XML that looks as follows: <*_~_*> Røyken VGS <*_~_*> My question is, can I in any way efficiently (i -stress- efficiently, if anyone read my previous XML and special characters post its a rather la

Re: [PHP] XML and htmlentities conditionally?

2006-01-29 Thread Brian V Bonini
On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote: > I have a block of XML that looks as follows: > > <*_~_*> Røyken VGS <*_~_*> > My question is, can I in any way efficiently (i -stress- efficiently, if > anyone read my previous XML and special characters post its a rather > large XMl file (br

[PHP] XML and htmlentities conditionally?

2006-01-28 Thread Adam Hubscher
I have a block of XML that looks as follows: <*_~_*> Røyken VGS <*_~_*> Now, if I run that block of XML through htmlentities, I will get the following: <*_!_*> Røyken VGS <*_~_*> XML parsers will return a problem, as there is both an unclosed tag and an invalid tag, in two places no less

Re: [PHP] XML and special characters

2006-01-28 Thread Adam Hubscher
Steve Clay wrote: Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote: ee dee da da da? §ð <-- those that look like html entities are the represented characters. I was mistaken, they are html entities, Can you show us a small chunk of this XML that throws errors? You said you've tri

Re[2]: [PHP] XML and special characters

2006-01-23 Thread Steve Clay
Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote: > ee dee da da da? §ð <-- those that look like html entities are > the represented characters. I was mistaken, they are html entities, Can you show us a small chunk of this XML that throws errors? You said you've tried various parsers.

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
Adam Hubscher wrote: tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these "special" character will

Re: [PHP] XML and special characters

2006-01-22 Thread tedd
I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these "special" character will be with us for

[PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
I've been having a tough time with parsing XML files and special characters. I have attempted every applicable engine, last try SAX, to attempt at parsing a (rather large, 17.8mb) xml file. The problem I hit, is when it hits a UTF8 encoded character. I've attempted at decoded the file before

Re: [PHP] XML and PHP

2005-07-06 Thread Charles Stuart
use a search engine. if you can't find what you need, then ask. if you already did this, then state that you already looked and you found xyz, but xyz isn't telling you what you need to know, which is specifically "blah". best, charles On Jul 6, 2005, at 2:59 PM, Cima wrote: hi

RE: [PHP] XML and PHP

2005-07-06 Thread Jay Blanchard
[snip] i would like to know where i could find more info on xml and working xml with php. [/snip] Start with the manual http://www.php.net/xml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML and PHP

2005-07-06 Thread Cima
hi all, i would like to know where i could find more info on xml and working xml with php. thanks.

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. > > > ~P

Re: [PHP] XML and Excel

2004-02-10 Thread Jake McHenry
day, February 10, 2004 11:35 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 - > &g

Re: [PHP] XML and Excel

2004-02-10 Thread Phillip Jackson
lt;[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://www.bettina-attack.de/jonn

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 le

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 l

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

[PHP] XML and PHP

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

Re: [PHP] xml and php

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

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] 1 Title 1 Description 1

RE: [PHP] xml and php

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

Re: [PHP] xml and php

2003-07-31 Thread Steff
gt; Sent: Thursday, July 31, 2003 3:03 PM Subject: RE: [PHP] xml and php [snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain sys

RE: [PHP] xml and php

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

[PHP] xml and php

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

[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

Re: [PHP] XML and XLS Sablotron

2002-10-30 Thread Geoff Hankerson
Basically SAX and DOM are for parsing xml and xslt is for transforming xml into html, svg, wml, pdf and the like. So it sounds like you want to use xslt. Daniele Baroncelli wrote: Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider

[PHP] XML and XLS Sablotron

2002-10-30 Thread Daniele Baroncelli
Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider very trivial. I have read about the XLS Sablotron functions, which are able to apply XLS stylesheets to an XML document. My question is: if my aim is to apply to an XML document an

[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 <-- : 1707 Up - <

[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. r

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

[PHP] XML and external parameter entities

2002-06-27 Thread Pawel
Hello, I'm having a hard time getting expat to parse external parameter entities and I'm wondering if any one tried this before (general entities work fine) sample xml: %common_entities; ]> . - as the

[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] 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: %common_entities; ]> . - as the name su

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

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

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

[PHP] XML and PHP - dynamic hell

2001-11-30 Thread Chris
I'm having one page output XML for other sites to parse. Unfortunately if I give an RSS parser the site (the php file) it errors out. But if I put the output in a XML file, and give that to the RSS parser everything works perfectly. Does anyone know why it can't read it straight from the php file?

[PHP] XML and PHP

2001-09-27 Thread Augusto Cesar Castoldi
Can I use the PHP XML functions to add and remove data from a XML file? It's possible? Or the PHP XML Functions are only for read a XML file? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web

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