[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: variable declaration
> my idea is to create a variable: > <xsl:variable name="niv" select="time_table/enseignement@niveau" /> > and do an xsl:for-each on this variable, but I cannot create > it with xmlns:xsl="http://www.w3.org/TR/WD-xsl" > and with xmlns:xsl="http://www.w3.org/1999/XSL/Transform" I cannot > use xsl:for-each, it has no effect. > > > Do you have some idea of the problem ? Your problem, like I said, is that you have an old XSL processor (MSXML2 with ie5) which supports an old draft of XSL. If you use the WD-xsl namespace you can't use variables, if you use http://www.w3.org/1999/XSL/Transform (the XSLT standard) MSXML2 won't work because it doesn't know it. My advice would be to select an up-to-date XSLT processor (e.g. Saxon) and instruct your students to use that with http://www.w3.org/1999/XSL/Transform. Linda 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
|