Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

resultset to xml

13 views
Skip to first unread message

gl...@tollnz.co.nz

unread,
Mar 20, 2005, 10:03:51 PM3/20/05
to
Hey guys,

I am wondering if there is a module that when I query the database and
it returns the resultset in xml format.

eg. select name,gener from user;

will return
<results>
<result>
<name>James</name>
<gender>male</gender>
</result>
<result>
<name>Mary</name>
<gender>female</gener>
</result>
</results>

majortool

unread,
Mar 27, 2005, 12:13:17 PM3/27/05
to
the best thing to do is use a third party module to interpret the data
im pretty sure that php/apache has one and there are other libraries
out there for c
you may even want to create a custom library to do this(i would highly
recommend it)

0 new messages