This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes fonts in xslt are not coming through in JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "fonts in xslt are not coming through in JSTL" Watch "fonts in xslt are not coming through in JSTL" New topic

fonts in xslt are not coming through in JSTL

Benjamin Weaver
Ranch Hand

Joined: Apr 08, 2003
Posts: 161
I have included some colored fonts in my XSLT templates. So I can make capital letters a different color, and so on. These fonts come over fine when I do the transformation using a desktop xml tool (Cooktop), and they come over fine in an org.w3c.dom transformation. But when I move the transformed XML file into JSTL and read the tags there, the fonts don't come through. Any ideas why?

By "fonts" I mean something like

Paul Clapham

Joined: Oct 14, 2005
Posts: 19725

So first you transform something using XSLT, and it generates XML containing "font" elements correctly. You have tried that three ways and it always generates the XML that you want.

But when you move the XML into JSTL (I don't know exactly what that means) then the font elements don't appear in the resulting HTML?

So it sounds like your XSLT is working just fine. You appear to have a question about JSTL. So let me move this over to the JSP forum, where questions about JSTL are on-topic. But I must say that more detail about the JSTL would be helpful.
Have you checked out Aspose?
subject: fonts in xslt are not coming through in JSTL
It's not a secret anymore!