This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Xalan ODBC extension - implementation


One solution for building the XML representation of the result set is to 
use the meta data returned to form the element names by using the
column names.

So in your example, the returned XML would be:

<RECORD>
	<FRED>test1</FRED>
	<JOE>test2</JOE>
</RECORD>

The hardest part is that the result set may not just return strings, but
you can check for this and create the appropriate XML element.

This is what we do inside out JDBC processing system and it
works quite well.

Regards,
Peter Flynn


********************************************************************

This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]