This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Guidance requested : Simple XSL markup beginners problem
- To: xsl-list at mulberrytech dot com
- Subject: Re: Guidance requested : Simple XSL markup beginners problem
- From: Dan Morrison <dman at es dot co dot nz>
- Date: Tue, 28 Mar 2000 05:24:22 +1200
- Organization: Disorganised
- References: <B3A4C1D6D65FD311A5C00008C7E639565F3CDA@ntleg15.leg.state.fl.us>
- Reply-To: xsl-list at mulberrytech dot com
ECKHART.CURT wrote:
> Does IE5 understand XSL at all?
First things first, in case you hadn't heard, XML is case-sensitive,
so
<xsl:template match="journal">
is never going to find
<JOURNAL OWNER = "ECKHART.CURT" TITLE = "Curt's Personal Journal">
So far so bad.
MSXML is a fine parser for XSL/XSLT, and super convenient too. but among
other issues, it requires a preamble containing at least:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<!-- Match the root node -->
<xsl:template match="/">
<xsl:apply-templates select="*"/>
</xsl:template>
(Well it used to anyway, I haven't hacked the new one everyones talking
about yet.)
Add that to your XSL file and you're on the way to getting results.
I dunno which FAQs youve tried so far, but you might as well look at the
actual docs under
http://msdn.microsoft.com/xml/default.asp
Seeing as that's your platform. Plenty of examples there. It may not
explain why to do things a certain way, but it'll sure tell you how to
get going.
--
:=====================:====================:
: 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 :
: 021 115 7339 : :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list