RE: [xsl] RE: Using a java variable inside XSLT

Subject: RE: [xsl] RE: Using a java variable inside XSLT
From: Mark Feblowitz <mfeblowitz@xxxxxxxxxxxxxxxx>
Date: Mon, 6 Aug 2001 17:44:51 -0400
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@xxxxxxxxxxxxxxxx
400 Technology Square, 9th Floor 
Cambridge, MA 02139 
www.frictionless.com  
 

 -----Original Message-----
From: 	Katie McNally [mailto:kmcnally9@xxxxxxxxxxx] 
Sent:	Monday, August 06, 2001 5:04 PM
To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread