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

Re: XSL template match question


Subject: Re: XSL template match question
From: Dan Morrison <dman@xxxxxxxx>
Date: Sat, 27 May 2000 18:41:38 +1200

Vikram wrote:
> 
> Hi,
>    I am a newbie to XSL.
> I have a XML document in which I specify a XSL
> stylesheet. When I open the XML document in IE5.0 all
> I see is a blank screen. Its driving me crazy.

At a glance I see no 

<xsl:template match="*"><xsl:value-of match="."/></xsl:template>

... which is going to be needed in IE (only) in order to actually
display anything.

Your second apply-templates has no templates to apply, so gives a blank
result. This is an IE (old version) quirk.

Either that or finish defining your templates for <Title/> & <Author/>,
using <xsl:value-of> where it's needed.

.dan.

:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


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



Current Thread
Keywords