|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Daft Question but
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 ? thanks Karlo XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








