logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Returning XML output for AJAX: msg#00083

Subject: Re: Returning XML output for AJAX
Bruce McKenzie wrote:
OK, so I'm way behind the rest of the world when it comes to XML -- but I am using CGI::Application -- so how hard could it be to catch up? :-)

What I want to do is return XML (as an Ajax response) to the jQuery Interface library Autocomplete plugin.

In the plugin documentation example, data is provided by an .asp document that looks like this:

<?xml version="1.0"?>
<ajaxresponse>
  <item>
    <text><![CDATA[text to display]]></text>
    <value><![CDATA[value to fill]]></value>
  </item>
</ajaxresponse>

Of the modules on CPAN that could produce this XML structure, which would be *easiest* to use? Do I need to change the headers of the CGI::Application response?


Here is a good resource:

http://perl-xml.sourceforge.net/faq/

HTH

Robert


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>