From: Peter L. <pe...@wi...> - 2003-01-30 15:05:27
|
Hi Wolfgang, Thank you for your reply. My problem is that the files in the database ar= e=20 each +500k. The data I need to retrieve from each file is approx. 5k.=20 Therefore I would like to run the transformation inside eXist instead of=20 pulling all +500k into Cocoon's pipeline. Sadly it will not be possible to restructure the db. What should I do. Peter Lerche On Thursday 30 January 2003 14:20, Wolfgang Meier wrote: > Hi, > > Usually I prefer to use Cocoon's pipeline to apply an XSL. For example, > > <map:match pattern=3D"shakespeare/**.xml"> > =09<map:generate src=3D"xmldb:exist:///db/shakespeare/plays/{1}.xml"/> > =09<map:transform src=3D"xmldb:exist///db/shakespeare/plays/shakes.xsl"= /> > =09<map:serialize type=3D"xhtml"/> > </map:pipeline> > > In this example, both files are read from the database. As an alternati= ve, > eXist version 0.9 is also able to process an xsl processing instruction= if > it finds one in the document. To enable this feature you have to set th= e > enable-xsl attribute in the configuration file, e.g.: > > <serializer enable-xinclude=3D"true" enable-xsl=3D"true"/> > > Please note that the serializer currently only processes the _first_ xs= l > processing instruction. Cocoon's pipelines support a much more complex > setup. > > Wolfgang > > > When running eXist as an stand-alone server I can use the HTTP GET t= o > > apply an xsl stylesheet the my request using _xsl=3Dxsl stylesheet > > > > Is there a way to do the same when using Cocoon's xmldb:// > > pseudo-protocol > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |