[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



