aspose file tools*
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
Author

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
Bartender

Joined: Oct 14, 2005
Posts: 18993
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fonts in xslt are not coming through in JSTL