Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes XML and Related Technologies and the fly likes Java and XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Java and XSLT" Watch "Java and XSLT" New topic

Java and XSLT

Krysty Sullivan
Ranch Hand

Joined: Jun 06, 2002
Posts: 48
I have a java file that extracts values from an XML file and puts the extracted data in an ArrayList. If I have an XSL file and make use of xmlns:java="", how do I retrieve the values of the ArrayList inside this XSL page so that I could create elements containing values of the ArrayList.

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
I have always wanted to learn 'extensions' but never go around to learn that part of the technology. While I don't have a direct answer to your question, I have in the recent past (in the last couple of months) seen a post here that used the Date (DateFormatter or Formatter?) Java class to reformat the Date value. Please search and see if that XSL could point you in the direction you are heading...sorry not the best answer, but well - thats the best I got for now.

- m

Take a Minute, Donate an Hour, Change a Life
Krysty Sullivan
Ranch Hand

Joined: Jun 06, 2002
Posts: 48
thanks madhav!
Have you tried LearnNowOnline?
subject: Java and XSLT