|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The XSL not working in IE5
Hi Farhan,
Sorry for the late reply. Didnt get a chance to check my mails yesterday. Check this out... It works. /* ************************************************ */ <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="Family">
<HTML>
<HEAD>
<title>FAMILY</title>
<STYLE TYPE="text/css">
p{ font-size:14pt; color="red" }
</STYLE>
</HEAD>
<BODY>
<xsl:apply-templates/>
</BODY>
</HTML>
</xsl:template><xsl:template match="Members"> <p> <xsl:value-of select="."/> </p> </xsl:template> </xsl:stylesheet> /* ************************************************ */ The "." is the value of the text in the current context. In the above case, the "." is used to display the current context context text, i.e. in simple words, value of the current node being evaluated. From: "Farhan Sarwar" <sarwarfarhan@xxxxxxxxxxx>
Share information about yourself, create your own public profile at http://profiles.msn.com. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








