The implemention of XSL was just of quick-and-dirty first try, it works, but I would 
first like to understand the core a little better (still have to read what a template 
engine does :) ... ). So I think it's for the moment to early to show me my example.

But if you want to know what I did, here it goes:

- I save all my xsl files in a java package, so that I don't have to explode my core 
war to place all the xsl's in there. 
- In my module I just call my business logic that does whatever it needs to do, I 
return my business object and pass it on to my xstRender class, there the business 
object is being transformed in an xml object.
- I do a lookup of my xsl file using the classloader
- create my result using the xml object
- drop the result on the page.print() statement

That's it, it's a start but ...

I like to hear from other people how they would implement xslt in ther Nukes

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827564#3827564";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827564>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to