This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XSL template match question


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@es.co.nz      :  danm@web.co.nz    :
:  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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]