ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: inline XSLT (and XML in general)
Date Thu, 14 Sep 2006 14:48:56 GMT
Matt Benson wrote:
> Replying to myself, as it were:
> 
> --- Matt Benson <gudnabrsam@yahoo.com> wrote:
> 
>> --- Steve Loughran <stevel@apache.org> wrote:
>>> Ant abuses xmlns work; you dont want inline XSL
>>> style sheets or you will 
>>> be surprised about the bad things that can happen
>> to
>>> nested XML. Play 
>>> with <echoxml>; you'll see what I mean.
>>>
>>>
>>> that said, if <xsl> is resource aware, we could
>> have
>>> an <xmlfragment> 
>>> resource...
>> Cool idea!
> 
> In fact, I can't see the harm in altering
> XMLFragment's inheritance path to extend Resource. 
> Implement getInputStream(), possibly adding an
> encoding attribute in case the InputStream needs to
> provide the content in a particular encoding.
> 
> (and the villagers took up their pitchforks...)

yes, burn the witch! she turned me into a frog!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message