[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[Announcement] org.apache.forrest.plugin.views (was: R

Subject: [Announcement] org.apache.forrest.plugin.views (was: Re: dyn:evaluate question)
From: Thorsten Scherler <thorsten@xxxxxxxxxx>
Date: Fri, 25 Mar 2005 23:41:47 +0100
forrest apache
On Thu, 2005-03-24 at 10:31 +1100, Dimitre Novatchev wrote: 
> > I want to implement a per document view. This view extracts html
> > snippets from a snippet rep. This way user from apache forrest can
> > implement their own view for each document or use the default view
> > without knowing xsl.
> 
> A known working solution is to dynamically modify the stylesheet (e.g.
> it's DOM) by setting the value of the "href" attribute to whatever
> necessary and *only then* pass this stylesheet to the XSLT processor.
> 
> 

Cheers, for all the reply I got on the topic. :)

I ended up to create a dynamic stylesheet
http://svn.apache.org/viewcvs.cgi/forrest/trunk/plugins/org.apache.forrest.plugin.views/resources/stylesheets/prepare.xhtml.xsl?view=markup

I created xmlns:alias="http://www.w3.org/1999/XSL/TransformAlias" and
added <xsl:namespace-alias stylesheet-prefix="alias"
result-prefix="xsl"/>. This way I can added the include to compile
time. :)

I released a prototype of the view concept in http://forrest.apache.org.
FYI
http://svn.apache.org/viewcvs.cgi/forrest/trunk/plugins/org.apache.forrest.plugin.views/

To try it out follow http://forrest.apache.org/build.html and make sure
you set your
forrest.properties like follows (,... means all other plugins you need):
project.skin=leather-dev
project.required.plugins=org.apache.forrest.plugin.views,...

THX again for the quick response.
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.