Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and XSLT

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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="http://xml.apache.org/xalan/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.

Thanks.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks madhav!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic