Seems to me that you don´t have dom_xml in your PHP configuration. You
don´t need dom_xml to create the XML file. I do it the quick- and
dirty way myself. I made my own database, so it differs, but here´s an
example of how i do it.
<?php
header ("content-type: text/xml");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Connect to the database
// select the table- and get some data
echo "<markers>\r\n";
while ($runner = mysql_fetch_object($info)) {
echo "\t<marker lat=\"".$runner->lat."\" lon=\"".$runner->lon."\"
lastupdate=\"".$runner->lup."\" />\r\n";
}
echo "</markers>\r\n";
?>
On Sep 22, 10:23 pm, racinnation <[EMAIL PROTECTED]> wrote:
> I'm using
> thishttp://code.google.com/support/bin/answer.py?answer=65622&topic=11364
> as a guide. I have all the markers in the DB.
>
> When I try to create the xml with phpsqlajax_genxml.php file
> referenced in the above link I get the following error.
>
> Fatal error: Call to undefined function domxml_new_doc() in /homepages/
> 27/d192713422/htdocs/sandbox/app/xml.php on line 5
>
> This is the file I'm working
> with.http://www.racinnation.com/sandbox/app/xml.php
>
> Anyone know how to fix?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---