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

RE: Sending data from Java to XSL

Subject: RE: Sending data from Java to XSL
From: "Joerg Colberg" <joerg.colberg@xxxxxxxxxxx>
Date: Thu, 21 Sep 100 15:44:23 EDT
j rg deter
Michael Kay wrote:

>>    I have a "simple" question (although it doesn't seem to be that
>> simple to me at all). I have some Java code which produces an array
>> of data which I want to use in an XSL. To be precise, the Java class
>> returns the names of the months in German (could be anything similar
>> to that, though). How would I pass that into the XSL?
>
>Depends rather on the processor you are using: the way you pass parameters
>in varies from one product to another. Probably most will allow you to
>supply a node-set or result-tree-fragment as a parameter in some way. But
>this seems a complicated way of doing it, why not have the names of the
>months in German in a separate XML file, and read it using the document()
>function?

   That's what I am doing now. Some people in my team like the idea of java
methods so I was wondering what the solution would be. Your information
that different processors need different schemes will deter us from using
it I guess.

Thanks!

- Joerg
_______________________________________
Joerg M. Colberg
Econovo Software, Inc.
joerg.colberg@xxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.