[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: templates/themes/look-and-feel - suggestions neede

Subject: RE: templates/themes/look-and-feel - suggestions needed
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 12 Jul 2004 14:31:07 +0100
award winning css templates
What you are doing is very much within the mainstream of what XSLT is
designed for. Just go ahead and do it.

Michael Kay 

> -----Original Message-----
> From: tpass001 [mailto:tpass001@xxxxxxxxxxx] 
> Sent: 12 July 2004 14:28
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  templates/themes/look-and-feel - suggestions needed
> 
> Any ideas or suggestions please?
> 
> 
> > Hi,
> >
> > I am using xslt to transform xml into html and other 
> formats for a while
> on
> > 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
> xsl
> > 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
> to
> > 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.