Hi Folks
Has anyone had problems with thej xml parser causing an Internal server
error?
I'm running IIS5 with the ISAPI module
Thnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi! Ok, this is not a question about PHP, but since this is such a great
discussion forum, I am certain it is a good place to get started with a new
technology.
The thing is I have a DTD specification and I want to translate it into a DB
schema, and then create an "add-delete-modify"
Hi! Ok, this is not a question about PHP, but since this is such a great
discussion forum, I am certain it is a good place to get started with a new
technology.
The thing is I have a DTD specification and I want to translate it into a DB
schema, and then create an "add-delete-modify"
Make sure you read the whole message before you comment. There was a
relative question at the bottom.
Rick
At 12:59 AM 3/17/01 +0100, Nik Gare wrote:
In article [EMAIL PROTECTED], Diego
Fulgueira [EMAIL PROTECTED] wrote:
Hi! Ok, this is not a question about PHP, but since this is such a
In article [EMAIL PROTECTED],
Rick St Jean [EMAIL PROTECTED] wrote:
Make sure you read the whole message before you comment. There was a
relative question at the bottom.
I have a question concerning table tags.
I also have a question concerning PHP.
Should I ask both questions here, or
If it was a question about tables and how you can use them with PHP then yes.
Take this off-list if you have something important to say please.
At 07:39 AM 3/17/01 +0100, Nik Gare wrote:
In article [EMAIL PROTECTED],
Rick St Jean [EMAIL PROTECTED] wrote:
Make sure you read the whole
please help me...
I'm working with some simple xml parsing.
in my xml document i have a tag like this: billede
img="theme/bg.gif"/billede
which holds the path of a picture.
in the xml parser i'm trying to output it as an img src="" tag, but
nothing seems to work.
some of the things i have
Jon A wrote:
...
print "img src=\"$element_attrs['IMG']\"";
break;
...
print "img src=\"{$element_attrs['IMG']}\"";
break;
- this will let it parse, but it won't do anything with the html.
can
dear list members,
has anybody got a good reference in compiling XML (expat) with PHP? I've
tried following the instructions in the annotated PHP manual and I still
come across the xmltok problem. Any reference, compile script, URL, etc.
would be appreciated. Thanks!
- Herman
--
PHP General
hi,
i try to parse an xml document.
but the function characterData which should process
the found data is never called.
startElement and endElement are called.
it does not fails opening it and it gets te correct number of
stories.u can have a look on the output at
Wddx may also be an option. That would allow you to serialize the xml
into php variables so that you could use them in your example. But if
your provider won't compile xml in, I doubt you'll be able to get wddx.
Shaun
On Wed, 14 Feb 2001, Stefen Lars wrote:
Hello all
I have recently been
Hello all
I have recently been assigned the task of parsing an xml file and format the
contents of the file in HTML. The xml file lies on another server. Our web
space provider does not provide the XML functions (nor is he willing to
install them) :-gr.
I am sure that I am not the only who
If your satisfied with IE5.0 customers you could do all that without php,
use an XSL file. Now if you want PHP to parse the XML file, I can see why,
your going to have to get XML installed. Have you considered other
providors? there are lots. Im one of them. Ive been told there are ways of
adding
I haven't done this in PHP as PHP comes w/ XML support but times past
when I needed a fast way to parse something like that and knew the
format would be simple I'd usually do something like make a function
that knows all the possible splits w/in a layer (ie items are w/in the
faq layer if
Hi Anybody got an idea?
I am sitting behind a proxy and I want to able to parse an XML.
So I have to use fsockopen() to get through my firewall and get the page.
So far, everything goes wel, but I am not able to parse the file, because I
think it is not in XML format if I use "GET http:// "
I didn't see any responses to this the other day when I asked so this
time I'll include source.. just cutting and pasting so hopefully nothing
gets clobbered..
When I parse this lil bit of raw data it parses properly. You can trace
it and see that it opens and closes the tags properly and
returnShipTable;
}
?
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 9:12 AM
To: 'Dave'
Cc: PHP Mailing Listl (E-mail)
Subject: RE: [PHP] XML Parsing The Sequel II
But how can I automate the saving locally of the file !!!
-Original Messag
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: zondag 11 februari 2001 11:13
To: PHP Mailing Listl (E-mail)
Subject:[PHP] XML Parsing The Sequel II
Ok, yesterday I had problems parsing an XML from Nasdaq.
Thx to Matt these problems have
:[PHP] XML Parsing The Sequel II
Ok, yesterday I had problems parsing an XML from Nasdaq.
Thx to Matt these problems have been solved and I am know able to parse any
XML without problems (I hope).
But I have one question:
In order to parse an XML you have to tell your parser where to find
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: maandag 12 februari 2001 21:52
To: 'Steve Haemelinck'
Subject:RE: [PHP] XML Parsing The Sequel II
Ok, I solved the problems with my proxy, I can get the xml but I can not get
it completely.
Why
Ok, yesterday I had problems parsing an XML from Nasdaq.
Thx to Matt these problems have been solved and I am know able to parse any
XML without problems (I hope).
But I have one question:
In order to parse an XML you have to tell your parser where to find the
document:
$xml_file = ''test.xml';
r can work from a variable, then just pass the read
variable to your parser.
Dave
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 5:13 AM
To: PHP Mailing Listl (E-mail)
Subject: [PHP] XML Parsing The Sequel II
Ok, yesterday I ha
But how can I automate the saving locally of the file !!!
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: zondag 11 februari 2001 14:44
To: PHP Mailing Listl (E-mail)
Subject:RE: [PHP] XML Parsing The Sequel II
here is some logic, I'm sure you can flesh
I've put together a fairly simple XML parser that outputs embeded objects
as a DOM. You can see that the XML files get parsed correctly (print
"Open: $tag" etc for the proper functions..) and built the DOM correctly
(print_r ( $this-dom ) at the last close_tag () call) but even after
displaying
On Fri, Feb 09, 2001 at 05:37:04PM -0700, Michael Dearman wrote:
I think it would be helpful.
What do you folks think?
You'd think it would be a popular thing, but the one O'Reilly hosts
is more or less silent.
http://www.oreillynet.com/pub/a/php/php-xml-ml.html
Matt
--
PHP General
I think it would be helpful.
What do you folks think?
MD
--
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]
I agree with you!
I am also looking for an xml, soap and php implementation.
Chris
- Original Message -
From: "Michael Dearman" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 7:37 PM
Subject: [PHP] A php-xml mailing list?
Yes, I subscribe to this PHP-XML mailing list, but it is very low volume.
I'd encourage anyone considering using XML/XSL/SOAP/RSS to join this list,
so that XML and SOAP can be easily used with a PHP web app environment.
I've used ASP/COM when I really wanted to use PHP, but the Microsoft
hello
I'm trying to parse and change a loaded xml-file using the DOM module.
I need to remove certain nodes and append new ones.
Is it really true that you can't remove a childnode
while working with dom.
in perl this would look somehow like this:
$doc1-removeChild($tmpele);
Has anyone successfully used PHP to
transform XML to HTML on the fly?
Can you point me to some info/tutorials.
-Brian
***
--
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
[mailto:[EMAIL PROTECTED]]
Sent: 05 February 2001 15:17
To: PHP Lists
Subject: [PHP] XML - HTML via PHP
Has anyone successfully used PHP to
transform XML to HTML on the fly?
Can you point me to some info/tutorials.
-Brian
***
--
PHP General Mailing List (http://www.php.net
"Brian V Bonini" [EMAIL PROTECTED] wrote:
Has anyone successfully used PHP to
transform XML to HTML on the fly?
Yes.
Can you point me to some info/tutorials.
Try phpbuilder.com and zend.com. I know one or both had a tutorial that's
easy to follow. You'll also need to have PHP compiled
When parsing a CDATA field that's being read in from a file,
if the fread() buffer fills up, does it make two calls to the CDATA
or does it wait for the closing tag to show up before firing off
to the handler?
while ($data = fread($fp,1)) // yes, I know you shouldn't use '1', but it's
an example
PHPbulder.com classically has terrible tutorials. I myself am trying to
learn this XML deal. PHPbuilders code, cut and paste is filled with parse
errors. after fiddling Ive got his example to work, but I havent a clue how?
he posts this stupid two page article, page one is nothing, page two is
If you're talking about my article on PHPBuilder
Found at: http://www.phpbuilder.com/columns/joe2907.php3
You can feel free to ask me any questions you like in private (I write them
because I like supporting a community that has helped me so much)
--Joe
On Mon, Feb 05, 2001 at
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 1:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] XML Parsing with PHP
PHPbulder.com classically has terrible tutorials. I myself am trying to
learn this XML deal. PHPbuilders code, cut
Where can I find some info on parsing XML with PHP?
I am not looking for functions, but examples and explanations !
Thx
--
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
phpbuilder.com - there are a few articles on the site about XML
--Joe
On Sun, Feb 04, 2001 at 05:02:43PM +0100, Steve Haemelinck wrote:
Where can I find some info on parsing XML with PHP?
I am not looking for functions, but examples and explanations !
Thx
--
PHP General Mailing List
Hi everyone!
I have a little problem ...
I installed the expat library for PHP3. it supplies to PHP a XML parser.
My next step was try to install Sablot library. This library supposedly
provide to PHP the power of XSL stylesheet but it ins't work!...why? because
I have PHP3! and Sablot library
Does anyone know of a script that will take data from XML/RDF news feeds and
automatically INSERT into a MySQL database? I have a news script that I can make
changes to, but I would also like to be able to automatically insert data into the
database that my news script is running on.
Hey,
I've been playing w/ DOM functions (not very documented, but cool :)
and had the following:
[categories.xml]
?xml version="1.0"?
catalog
category id="db" name="Databases"
topic
nameMySQL/name
descriptionMySQL Manual/description
At 5:11 PM +0200 1/22/01, Teodor Cimpoesu wrote:
It outputs "text" and I would expect "Databases".
there is a great help with finding out where stuff is in objects and
arrays if you do a var_dump() or a print_r() of the object/array.
This might help to get insight on where the info is (it
I am using php 4.02 and Apache 1.3.12 and am trying to do some XML parsing.
HTML is also in the text I'm parsing and the xml parsing dies if it sees an
html tag that does not have a matching closing tag. Is there any work around
to this and if so is there a way to make it so XML tags don't
]]
Sent: Thursday, January 18, 2001 10:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP] XML Parser is a bit strict
I am using php 4.02 and Apache 1.3.12 and am trying to do some XML parsing.
HTML is also in the text I'm parsing and the xml parsing dies if it sees an
html tag that does not have a matching
On 18 Jan 2001 14:28:16 -0800, Chris Lee [EMAIL PROTECTED] wrote:
I dont know if you can use XHTML syntax in XML, I dont think it works like
this, I think XML is more strict.
XHTML *is* XML - it's just HTML reformulated so that a valid XHTML document can
be parsed by a normal XML parser without
( I am still not used to this mailing list - I keep hiting "Reply" and
only sending it to the poster. )
Part of the XML standard is that every element will have start and end
tags. HTML actually uses the syntax of SGML, which allows some tags
to have their end tags omitted - therefore, on
At 11:52 01-01-19 +1100, Brian White wrote:
As far as I understand XHMTL, it simply HTML made XML compliant, which
basically means you always have to put in an end tag.
True enough...
There is a tool though on the w3c call HTMLTidy that you can pass your HTML
code through and will give you back
To everyone that wrote in answering this question, thanks. The answers were
very interesting and well writen, I didn't post the origonal question but I
am glad he did, Ive learned alot about something I allways wondered about :)
On a side note, anyone ever see any good tutorials for XML - php ?
Hi, recently I was given the task to create an
application to generate xml files in order to exchange
data.
Since my knowleadge of xml is close to zero :) I also
received an english text explaining the DTD and an
example of how the file should be written.
So I got to a point where I simply
801 - 849 of 849 matches
Mail list logo