RE: [xsl] multiple XML tags -> single output

Subject: RE: [xsl] multiple XML tags -> single output
From: "Pasupathi" <pasupati@xxxxxxxxx>
Date: Thu, 28 Dec 2000 14:43:07 +0530
Hi all,

I am new to this list (Beginer to xml also....) I have doubt in xm/xsl

Following is a code....

1) Slideshow.xml:

<?xml version='1.0' ?>
<?xml:stylesheet type="text/xsl" href="SlideShow.xsl" ?>
<slideshow>
	<title>
		Simple slide Show
	</title>
</slideshow>

2) Slideshow.xsl

    <?xml version="1.0"?>
        <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
           <xsl:template match="/">
	<html>
	  <body>
	  <xsl:for-each select="slideshow">
	    <h1>
	      <xsl:value-of select="title">
	      </xsl:value-of>
	    </h1>
	  </xsl:for-each>
	  </body>
	</html>
           </xsl:template>
        </xsl:stylesheet>

It is working good in IE. But not opening in Netscape browser. Is there any
different Namespace has to be given for Netscape browser. Please help me to
get the solution.

Reply,
Pasupathi.



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin
McCarthy
Sent: Thursday, December 28, 2000 1:42 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; zbrown@xxxxxxxxxxxxx;
dnovatchev@xxxxxxxxx
Subject: Re: [xsl] multiple XML tags -> single output


C'mon, Dimitre, it's not a problem with the quotes :-)
Isn't what  Zack needs to do is us an xsl:attribute statement like this?

<xsl:template match="a">
    <a>
        <xsl:attribute name="href"><xsl:value-of
select="@href"/></xsl:attribute>
    </a>
</xsl:template>
-Kevin

----- Original Message -----
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
> >     <xsl:template match="a">
> >         <a href="<xsl:value-of select="@href"/>"><xsl:value-of
> select="."/></a>
> >     </xsl:template>
> >
> > The above looks OK to me, but ...
>
> Unbalanced quotes...



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread