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

RE: [xslt 2.0] Local functions

Subject: RE: [xslt 2.0] Local functions
From: Justin Johansson <procode@xxxxxxxxxx>
Date: Fri, 20 Jul 2007 10:00:34 +0900
RE:  [xslt 2.0] Local functions
For those who scan emails without reading all, suggest if you are on this
list you will find this post interesting if you take the time to read the
detail :-)

>And I would love to see some way of organizing all the template rules in a
>mode into some self-contained structure that keeps them tidily in one place.
>
>Michael Kay

With this higher-level XSLT to lower-level XSLT translator that I've been
alluding to on this list, I was figuring of doing just that.  Conceptually,
to me
anyway, there is a mapping to OO concepts here.

A mode in a given namespace is analogous to a method of
that name implemented in an interface identified by the namespace.

In an OO language, we organize methods into classes and interfaces, and
we wouldn't think twice about having it any other way.

Anyway, since my client had so many templates and in so many modes
and they hated the look and feel of XSL,

and since I got 'em hooked on InfoPath for writing content for their site,

they asked me to see if the XSL could be better organized in InfoPath.

I know that InfoPath is often used in conjunction with an MS server (typically
Sharepoint), but I've managed to successfully build into an authoring
environment running on Apache Tomcat.

Naturally I use Saxon to to the server-side transforms,  which BTW should
end up being a bit more robust now having recently upgraded to
Saxon-SA.

A screen capture of the hastily knocked-up form for authoring the
XSL stylesheets can be seen here :

http://www.justinjohansson.com/etc/images/xsl-editor.jpg

I don't have any vistor logs set up on my Tomcat server yet, and since
I'd like to know if many people bother looking at that link, I'd appreciate
a quick email to

procode (at) tpg (dot) com (dot) au

Obviously comments on the approach are welcome on this list.

Thanks 
Justin Johansson
Now a Schema-Aware XSLT Evangelist

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.