[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: The XSL not working in IE5


Subject: Re: The XSL not working in IE5
From: "Saif Khaja" <ksaif25@xxxxxxxxxxx>
Date: Tue, 03 Oct 2000 11:24:29 PDT

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>


<?xml version = '1.0'?> <?xml-stylesheet type = "text/xsl" href = "Family.xsl" ?> <Family> <Members>Salman</Members> </Family>


_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

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




Current Thread