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

Re: Guidance requested : Simple XSL markup beginners problem

Subject: Re: Guidance requested : Simple XSL markup beginners problem
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 28 Mar 2000 05:24:22 +1200
xsl for beginners
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@xxxxxxxx      :  danm@xxxxxxxxx    :
:  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


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.