Re: Perplexing Problem in Embedding Stylesheet
I'm not sure if embedded stylesheets work in IE(especially if you haven't declared the id to be of type ID) however if they did I would expect that your styleshet would just produce the heading and the paragraph NEWS from your template. You have <xsl:for-each select="news/day"> but this will return nothing as it will execute on the root node of the document and the root node soesn't have a child node "news". you will need <xsl:for-each select="root/news/day"> There is a _lot_ of difference between a root node, and an element node that happens to be called root, even if that element is the top level element in the document tree. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. 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