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

Re: Daft Question but

Subject: Re: Daft Question but
From: "Rob Lugt" <roblugt@xxxxxxxxx>
Date: Fri, 6 Jul 2001 12:01:23 +0100
example of itenary
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

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.