This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: Using a java variable inside XSLT
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE: Using a java variable inside XSLT
- From: Mark Feblowitz <mfeblowitz at frictionless dot com>
- Date: Mon, 6 Aug 2001 17:44:51 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Certainly sounds like a job for XML. If you were to serialize the objects
out to something like:
<name>
<firstName>Katie</firstName>
<lastName>McNally</lastName>
</name>
Then your XSLT processor could deal with it.
You could write your own serializer, or you could use a more civilized
approach, such as creating DOM nodes and then serializing the DOM.
----------------------------------------------------------------------------
----
Mark Feblowitz [t] 617.715.7231
Frictionless Commerce Incorporated [f] 617.495.0188
XML Architect [e]
mfeblowitz@frictionless.com
400 Technology Square, 9th Floor
Cambridge, MA 02139
www.frictionless.com
-----Original Message-----
From: Katie McNally [mailto:kmcnally9@hotmail.com]
Sent: Monday, August 06, 2001 5:04 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] RE: Using a java variable inside XSLT
We are attempting to display a first and last name in HTML using XSLT. We
obtained the first and last name from the session object and put the values
into a java variable. How can we display the value of our java variable in
HTML using an XSLT template? Our XSLT template is converting XML to HTML.
The first and last names are not in the XML. What is the best way to display
this data?
Thanks,
Katie
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list