CSS style for XSLT debug output ?

Here should go questions about transforming XML with XSLT and FOP.
RikSmithies
Posts: 2
Joined: Thu Oct 27, 2005 1:46 pm

CSS style for XSLT debug output ?

Post by RikSmithies » Thu Oct 27, 2005 1:55 pm

Can I style my XHTML with CSS in the debugger ?
When I debug an HTML producing XSLT the XHTML output doesnt reflect the CSS stylesheet that the generatad XHTML includes. This seems the case even if I use a full path to the .css, so doesnt look like a file location issue. It works ok if I execute the XSLT and show the results in an external IE window.
thanks
Rik

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Thu Oct 27, 2005 6:13 pm

Hello,

The XHTML output view of the XSLT Debugger perspective does not apply CSS stylesheets to the transformation output. It renders tables, italic or bold characters but it does not apply CSS stylesheets. It helps you only to debug the stylesheet by doing basic rendering of the output of the transform. For full rendering use the Open in browser option of the transform scenario as you discovered already.

Regards,
Sorin

RikSmithies
Posts: 2
Joined: Thu Oct 27, 2005 1:46 pm

Post by RikSmithies » Thu Oct 27, 2005 6:25 pm

thanks. Although I take your point, when generation of the css tags is part of the logic of the XSLT, there are times when seeing it live would be useful.

Post Reply