Subject: Re: [xsl] Daft Question but From: "Rob Lugt" <roblugt@xxxxxxxxx> Date: Fri, 6 Jul 2001 12:01:23 +0100 |
From: <pcaspian@xxxxxxxxxxx> > Hi, Im just plain stuck. I dont know, im just trying to make a simple > excersize example to go through my examples in the book, but Im having > problems. > > my xml file: > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="today.xsl"?> > > <itenary> > <day number="1">Arrive in Cairo</day> > <day number="2">Visit Cairo</day> > <day number="3">Go shopping </day> > <day number="4">Eat out </day> > <day number="5">Go scuba diving</day> > <day number="6">Snake park</day> > <day number="7">Go home</day> > </itenary> > > xsl file: > <?xml version="1.0"?> > <!-- File Name: today.xsl --> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0" > > <xsl:template match="/itenary"> > <xsl:for-each select="day"> > <a> OI > <xsl:value-of select ="@number"/> > </a> > </xsl:for-each> > </xsl:template> > </xsl:stylesheet> > > THis only displays "OI" in my browser (using MSXML 3.0) (IE), sorry, I have > created numerous XSL files, but I just dont get whats wrong here ? There doesn't appear to be anything wrong with your style sheet. Are you sure you have MSXML3 installed in "replace" mode. It looks like your IE5 is still using the original XML/XSL processor. Regards ~Rob -- Rob Lugt ElCel Technology http://www.elcel.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Daft Question but, Chris Bayes | Thread | [xsl] numbering empty entities, Michael Schäfer |
RE: [xsl] Daft Question but, Chris Bayes | Date | [xsl] numbering empty entities, Michael Schäfer |
Month |