Hi,
> > 1. How can i convert a recordset of mySQL on RH6.1
> to an XML file ?
The same way you convert mySQL data to a HTML table.
The deference is that you have a different format.
Just :
Get the data
Echo it to your standard output in the XML DTD
format
and vualla.
I know PHP has built in XML functions.
For a Python example look at
http://faqts.com/knowledge_base/view.phtml/aid/5706/fid/513
and I'm shore Perl has a mod_some_thing for PHP and
other languages too.
Shore the above is the optimistic way of doing things
or the "consultant" way of describing it ;-) so you
can get more help from :
http://www.w3.org/TR/REC-xml
http://www.php.net/manual/en/ref.xml.php
http://java.sun.com/xml/jaxp-docs-1.0.1/docs/tutorial/overview/1_xml.html
> 2. How can i send an XML file to the client
> browser ?
Again it is the same Idea as sending a dynamically
generated HTML to the client, only the format is
deferent.
> 3. Is there a way to minimize cgi c++ files ?
U got me puzzled here ?
Do u mean less code, smaller binary ..... Shore there
is always a way to make your code smaller. But the way
to do that is Experience, good design work and ALLOT
of thinking.
C U
Erez
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]