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

This is to Saif...

Subject: This is to Saif...
From: "Farhan Sarwar" <sarwarfarhan@xxxxxxxxxxx>
Date: Tue, 03 Oct 2000 10:57:12 PKT
saif sarwar
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@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
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



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.