[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: output IE conditional comment using XSL
Pass a parameter to the stylesheet
<xsl:param name="browser" select="IE"> --> select is the default value if no value is passed as param. <xsl:if test="browser='IE'> <style type="text/css" media="screen"> @import url("css/spc-web-ie.css"); </style> </xsl:if> Then, when you call the xsl, passing the param as well. Maybe from Javascript, if that's the case. Wong Chin Shin wrote: Hi, I'm trying to output the following code block using xsl:comment
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|