Subject: RE: The XSL-List Digest V3 #373 From: "Jaiswal, Vinay (CTS)" <JVinay@xxxxxxxxxxxxxxxx> Date: Wed, 29 Nov 2000 07:22:47 -0500 |
Hi Monica, This is the sample stylesheet to include <IMG> tags. It is working fine on any browser. Please let me know if u r using any microbrowser (Nokia Wap Toolkit). <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction> <html> <head> <title><bla...bla></title> </head> <body BGCOLOR="#BBBBBB" background="bla.gif" text="blue"> <img src="bla.jpg"> </img> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="article1/title"> <p><b><h2><I><xsl:apply-templates/></I></h2></b></p> </xsl:template> <xsl:template match="link"> <A> <xsl:attribute name="href"> <xsl:value-of select="@href"/> </xsl:attribute> <p><b><h2><I><xsl:value-of select="."/></I></h2></b></p> </A> </xsl:template> </xsl:stylesheet> Regards, Vinay Jaiswal Cognizant Technology solutions, India - -----Original Message----- From: Monica Gupta [mailto:monica@xxxxxxxx] Sent: Tuesday, November 28, 2000 2:17 PM To: XSL-List@xxxxxxxxxxxxxxxx Subject: Hi all, I am new to XSL. I wanted to know how we can include <IMG> tags in our stylesheet. can anyone explain with a small example. Thanks Monica This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Tue, 28 Nov 2000 12:17:18 -0800, Jaiswal, Vinay (CTS) | Thread | Installing MSXML3 on IE 5.5, Paul Terray |
RE: Tue, 28 Nov 2000 12:17:18 -0800, Jaiswal, Vinay (CTS) | Date | Installing MSXML3 on IE 5.5, Paul Terray |
Month |