On Wed, 2008-03-19 at 18:52 -0700, Mark Diggory wrote:
> On Mar 19, 2008, at 5:30 PM, Conal Tuohy wrote:
> 
> >
> > On Wed, 2008-03-19 at 16:40 -0700, Mark Diggory wrote:
> >> This is why its my opinion not to go that deep into the system.  Skip
> >> DRI altogether an write a document() include in the theme that
> >> retrieved the feed.  Author a few xslt templates into the base xslt
> >> of the theme to handle formating.
> >
> > Transclusion of feeds in Manakin is problematic whether you do it in a
> > theme or in the aspect layer. Either way you have the problem of
> > handling escaped HTML markup. You can't just use disable-output- 
> > escaping
> > in a Cocoon pipeline.
> 
> This is the case when the transform is not the final serialization to  
> the output stream.

Yes, and that's ALWAYS the case in a Cocoon pipeline isn't it? The data
must be parsed into SAX events so that the pipeline serializer will
serialize it properly.

> If its a question of it being well formed xhtml coming out of the  
> template... A simple Java class can be created to assist in this area  
> using JTidy to process the string containing the html prior to  
> processing it into the outputstream.

You mean using JTidy as an XSLT extension function, passing a string and
returning a DOM back into the XSLT? That could work. Or JTidy could be
packaged into a Cocoon transformer of its own.

-- 
Conal Tuohy
New Zealand Electronic Text Centre
www.nzetc.org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to