[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IE 5 XSL Processor Help
Kevin, You are using the new namespace http://www.w3.org/1999/XSL/Transform with the old parser. Update your parser to the new version. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin Nardi >Sent: 11 July 2001 20:53 >To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx >Subject: IE 5 XSL Processor Help > > >I'm new to XSL and I'm trying to do some transformations in IE 5.5, but I >can't get a single piece of code to work. Here's my processor info: > >Vendor: Microsoft >Processor version: Original IE5 (or old version of other processor) > >For some reason transformNode() always returns the the xml text of the xsl >document I pass to it. No parse or runtime errors. Any clues? > >The text of my test document follows. > >Thanks! > >Kevin Nardi >Upcast, Inc. > >----------------------------------------------- > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > ><html> ><head> > <title>XML Test</title> > ><script> > >function transform() >{ > alert(xml.transformNode(xsl.XMLDocument)); >} > ></script> > ></head> > ><body onload="transform()"> > ><XML id="xml"> > <hello>Hello World!</hello> ></XML> > ><XML id="xsl"> > <xsl:stylesheet version="1.0" >xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >xmlns="http://www.w3.org/TR/xhtml1/strict"> > > <xsl:template match="hello"> > <xsl:value-of select="/" /> > </xsl:template> > > </xsl:stylesheet> ></XML> > > ></body> ></html> >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > 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
|