xsl-list
[Top] [All Lists]

RE: [xsl] Newbie question on XSL transformations: multiple sorts on element attr

2007-02-08 08:39:36
 
I'd like to use only one language (C) for my business logic and to 
call the xslt engine.
Now I use c for business logic and in my presentation layer 
I call C 
api of libxslt to apply stylesheets to my data (formatted in xml).

I don't know if perhaps this is straying more into the "how 
to design software architecture" range of discussion, but...  
What we decided to do was hook the best XSLT engine we could 
find into a web service.

Yes, I think there is lot of merit in creating a "transformation server" in
this way. It enables you to invoke transformations from anywhere regardless
of programming language, operating system, or network location; it enables
you to manage sharing of resources such as compiled stylesheets, Java VMs,
etc; it scales as your workload increases, and it decouples your application
from the choice of XSLT engine.

One slight downside is that you will always be communicating between the
application and the XSLT engine in terms of lexical XML rather than say SAX
or DOM, so there is always a serialize/parse overhead.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--