Re: cannedqueries module

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Suman Nath (sknath@cs.cmu.edu)
Date: 02/02/03


If anyone want to pretty print the query output with CannedQueries, he
needs to properly modify the XSLT file "my2html.xsl", otherwise you might
get exception similar to Mukesh's. We do not expect you to pretty
print the output since we do not expect you to know XSLT at this point.

If you like, you can try to do string processing to convert the raw
query answer in XML to convert into nicely formated html output, but this
is optional.

On Sun, 2 Feb 2003, mukesh agrawal wrote:

>
> Does anyone know why the cannedqueries program would throw this exception?
>
> javax.xml.transform.TransformerException: Can't have more than one root on a DOM!
>
> It occurs when I try to submit a canned query (#2 or #3 from canned.html).
> If I query the database using the command line tool, the database looks
> ok.
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 06/10/04 EDT