This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
The XSL not working in IE5
- To: xsl-list at mulberrytech dot com
- Subject: The XSL not working in IE5
- From: "Farhan Sarwar" <sarwarfarhan at hotmail dot com>
- Date: Tue, 03 Oct 2000 11:09:27 PKT
- Reply-To: xsl-list at mulberrytech dot com
Please consider the problem below,,,
Well Thanks Saif....for the reply...
but my problem has'nt been solved yet....
its still not displaying anything....but one more thing is like if i
hard code any string in b/w the <p> <xsl:value-of select ="."/> then it
does display this the harcoded string.in red color and font
specified....like if lets say i write <p>Farhan<xsl:value-of select="."/>
then it displays Farhan in red color...
well to be more specific....the XML is
<?xml version = '1.0'?>
<?xml-stylesheet type = "text/xsl" href = "Family.xsl" ?>
<Family>
<Members>Salman</Members>
</Family>
and the XSL file is
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<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>
please help me out with this....
Thanks......
One more thing Saif what is the . in select ="." means....
Bye...
will wait for ur reply...
>From: "Saif Khaja" <ksaif25@hotmail.com>
>Reply-To: xsl-list@mulberrytech.com
>To: xsl-list@mulberrytech.com
>Subject: Re: Help regarding XSL
>Date: Mon, 02 Oct 2000 15:20:14 PDT
>
>Try this out...
>
><?xml version="1.0"?>
><xsl:stylesheet version="1.0"
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:template match="/">
> <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>
>
>>From: "Farhan Sarwar" <sarwarfarhan@hotmail.com>
>>Reply-To: xsl-list@mulberrytech.com
>>To: xsl-list@mulberrytech.com
>>Subject: Help regarding XSL
>>Date: Tue, 03 Oct 2000 01:06:27 PKT
>>
>>Hello...
>>i have just started using XML and XSL can anyone tell me that what is the
>>purpose
>>of the select attribute in the <apply:template select=[somepattern]>
>>further
>>i have'nt used
>>namespaces as i don't have the idea of it...how do we implement it...
>>i have made and XML and an XSL.....but its not displaying any results...
>>The XML file is as follows.
>>
>><?xml version = '1.0'?>
>><?xml-stylesheet type = "text/xsl" href = "Family.xsl" ?>
>> <Family>
>> <Members>Salman</Members>
>> </Family>
>>
>>and the XSL file is
>>
>><?xml version = "1.0" ?>
>><template match = "Family">
>><html>
>><Body>
>> <font size = '14' color = 'RED'>
>> <apply-templates/>
>> </font>
>>
>></Body>
>></html>
>><template>
>>
>>
>>well i m expecting it to display Salman with color red and fint size = 14
>>but its not
>>displaying any thing.
>>
>>
>>Thanks
>>
>>Farhan.
>>_________________________________________________________________________
>>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
>
>_________________________________________________________________________
>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
_________________________________________________________________________
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