Had forgoten about this guy. Is it in the docs?

Maybe we should guide people to use this functionality.

Jose Alberto

> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] 
> Sent: 05 July 2004 16:34
> To: [EMAIL PROTECTED]
> Subject: Re: SQLExec.class feedback attribute proposal
> 
> 
> Jose Alberto Fernandez wrote:
> ...
> > To tell you the truth, I think the whole business of 
> printing results 
> > of queries using SQLTask was a mistake, and should have 
> been defined 
> > on a separate task that can do real XML output of results 
> that one can 
> > manipulate and format in watever fashion. The current 
> arrangement is a 
> > product of the early days of ANT.
> 
> The last version of the xml extractor patch uses an external task for 
> extracting. Is this something that could be of interest?
> 
> [PATCH] Xml output for the SQL task 
> http://issues.apache.org/bugzilla/show_bug.cgi> ?id=28681
> 
> 
> Usage example:
> 
>    <taskdef name="extractorxml"
>   
>      classname="org.apache.tools.ant.taskdefs.SQLExtractorXML"/>
> 
>    <extractorxml id="myextractorxml"/>
> 
>      <sql driver="..."
>           url="..."
>           userid="..."
>           password="..."
>           print="yes"
>           output="${work.dir}/outputfile.xml"
>           extractorRef="myextractorxml"
>      >
>        ${data.sql}
>      </sql>
> 
> 
> -- 
> Nicola Ken Barozzi                   [EMAIL PROTECTED]
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to