displaying xsl on the web

S

Sam Quigley

Hi,

I'd like to be able to post my (mis)adventures with XSL to the web,
that others might see how my stylesheets work. Accordingly, it'd be
nice to have some way of transforming XSL docs into (X)HTML docs, and
even better if the resulting HTML could be styled (with CSS?) so that
PIs are one color, other XSL constructs other colors, select
attributes highlighted, etc.

This shouldn't be too hard to do, but it strikes me that it's probably
a common task, and that it's perhaps been done before. Unfortunately,
it's a bit hard to google for XSL stylesheets that transform XSL
stylesheets to HTML -- I get either lots of cruft or nothing useful at
all.

So: has anyone done this or seen this already?
-sq
 
N

Nick Kew

Accordingly, it'd be
nice to have some way of transforming XSL docs into (X)HTML docs, and
even better if the resulting HTML could be styled (with CSS?) so that
PIs are one color, other XSL constructs other colors, select
attributes highlighted, etc.

If you validate your XSL at Page Valet[1] and select "visual validator"
mode, you'll get it syntax-highlighted. You could use the mod_validator
source[2] as a startingpoint for your own customised version. Or grease
my palm to do it for you:)

Another possibility might be mod_colorer[3]. I'm not sure what you'd
have to do taking that approach.

[1] http://valet.webthing.com/page/
[2] http://apache.webthing.com/mod_validator/
[3] somewhere under http://www.outoforder.cc/
`
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top