[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <xsl:if> with JavaScript function via <msxsl:scrip
Daryl, When you moved to MSXML 4.0 you were required to use the http://www.w3.org/1999/XSL/Transform namespace. This is the namespace required by the XSLT 1.0 specification. Previous versions of MSXML supported a Microsoft-specific namespace referred to as the WD-xsl namespace, so called because it was based on an early Working Draft of the XSLT specification. So, for example, XSLT 1.0 has an <xsl:if> element, but that element does not have an 'expr' attribute. Use the 'test' attribute instead. The MSXML 4.0 documentation (also available in the MSDN Library) contains sample code to guide you. Don't let these similarities confuse you. WD-xsl is not XSLT 1.0. MSXML 4.0 dropped support for WD-xsl because it is obsolete, and is no longer supported by Microsoft or this list. This situation is explained in my article [1] on XSLT in MSXML. There you will also find references to a conversion utility from Microsoft to convert WD-xsl stylesheets into XSLT 1.0. Cheers, Stuart [1] http://www.perfectxml.com/articles/xml/XsltInMsxml.asp 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
|