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

RE: Tue, 28 Nov 2000 12:17:18 -0800

Subject: RE: Tue, 28 Nov 2000 12:17:18 -0800
From: "Jaiswal, Vinay (CTS)" <JVinay@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Nov 2000 17:48:18 +0530
RE: Tue
Hi Monica,

This is the sample stylesheet to include <IMG> tags :

<?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> 

It is working fine on any browser..

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

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.