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

Re: Conditional IE5 xsl

Subject: Re: Conditional IE5 xsl
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 11 Apr 2000 01:09:52 +1200
Re: Conditional IE5 xsl
Ben Robb wrote:
> 
> Sorry - try <xsl:when test="/Form/Name[. = '']">
> 
> It is, after all, monday morning, and I haven't had enough coffee yet *grin*


Sorry, but while we're on the subject of IE xsl:when
(Man I hate asking about MSXML here but...)

I've now spent several hours bashing this about and have completely
failed to find any information on the MSDN website etc...

I've got a fragment as follows

        <xsl:template match="element">
                <xsl:choose>
                        <xsl:when test=".[@class='Page']">
                                <xsl:call-template name="Page" />
                        </xsl:when>
                        
                        <xsl:otherwise>
                         Unknown element class: <xsl:value-of
select="@class" /> id:
<xsl:value-of select="@id" />
                        </xsl:otherwise>
                        
                </xsl:choose>
        </xsl:template>

(the XML is simple, it's the XSL Transform that's breaking)

And the parser (I believe I'm using the March Release. I downloaded &
installed it, but it doesn't seem to have made a difference to me)
insists

[ call-templates cannot be used here ]

Is this a frustratingly coy & annoying way of saying it doesn't actually
know WTF call-template is?

or is there something strange with the syntax?

Why is life so tough sometimes?

Thanx, .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

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.