Re: [xsl] templates/themes/look-and-feel - suggestions needed

Subject: Re: [xsl] templates/themes/look-and-feel - suggestions needed
From: "tpass001" <tpass001@xxxxxxxxxxx>
Date: Mon, 12 Jul 2004 08:27:54 -0500
Any ideas or suggestions please?

> Hi,
> I am using xslt to transform xml into html and other formats for a while
> a project.
> The brass now needs a way to easily change the look and feel of the webapp
> as pluggable themes. I use a central stylesheet for css bindings, so all
> files call on this css file.
> What I was thinking of doing was pass a parameter to my xsl files whose
> value would be the theme name to use, where theme name would be the
> directory where the image files and css files are located. What this would
> involve on my part is to manually go to each xsl file and change
> <img src="../images/view.gif" title="View"/>
> to
> <img title="View"><xsl:attribute name="src"><xsl:value-of
> select="$theme"/>view.gif</xsl:attribute></img>
> where $theme=../images or any theme directory. and is an input parameter
> the stylesheet, provided externally.
> I have been searching on the internet all morning trying to see if anyone
> has done this. Maybe I was not searching on the right words, but I would
> appreciate your thoughts on this as well as links if you know of any.
> Thanks.
> TP.

Current Thread