[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Embedded Stylesheet
Sean Kelly wrote:
The following works fine for me in ie5.5 with msxml3 in replace-mode:Thanks for the link, I already tried this example before posting. I only get a tree listing (no styling whatsoever) of the XML document using IE5, which defeats the object. <?xml version="1.0"?> <?xml-stylesheet href="#newsStylesheet" type="text/xsl" media="screen"?> <root> <xsl:stylesheet version="1.0" id="newsStylesheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <html> <head> <title>Sample of an Embeded Stylesheet</title> </head> <body> <p>NEWS</p> <xsl:for-each select="news/day"> <p> <xsl:value-of select="date"/> <br/> <b> <xsl:value-of select="title"/> </b> <br/> <xsl:value-of select="text"/> </p> </xsl:for-each> </body> </html> </xsl:stylesheet> <news> <day> <date>30 October 2001</date> <title>Embedded Stylesheet Example</title> <text>The following text is displayed using an embedded stylesheet</text> </day> </news> </root> Check your msxml3 installation (see http://www.netcrucible.com/xslt/msxml-faq.htm) -- Oleg Tkachenko Multiconn International, Israel 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
|