Subject: RE: More fun with MSIE From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx> Date: Sun, 15 Nov 1998 20:55:46 -0500 |
Thank you so much for this; anything else? from anyone? ` ...edN -----Original Message----- From: Chris Maden [SMTP:crism@xxxxxxxxxxx] Sent: Sunday, November 15, 1998 7:07 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: More fun with MSIE [I said] > Today I sat down to develop my first real XSL stylesheet, using MSIE > 5b2 as the previewer. Imagine my joy to discover in their > documentation that they don't support <xsl:process/> or > <xsl:process-children/>. That is strictly correct, but I must apologize for not reading MS's documentation carefully. They have implemented <xsl:apply-templates/>, which the WG has agreed to use to replace both <xsl:process/> and <xsl:process-children/>. The main problems remaining with MSIE's implementation: o Lack of support for | in patterns. In <xsl:template>, this isn't a real problem; multiple templates can be created. However, in <xsl:apply-templates/>, it's a barrier to use: you can't say, "Process elements of these types, in whatever order they arrive." You can either say, "Process all elements, in whatever order they arrive," or, "Process this kind of element, then this kind of element, then...". o <xsl:apply-templates/> is not applied to character data. The only way to produce character data in the output from character data in the input is with <xsl:value-of/>; this makes mixed content impossible if some of the child elements must be processed or have generated content. o Lack of support for attribute value templates. Expressions usable in <xsl:value-of/> are also usable inside attribute values, delimited by {...} in the WD. MSIE does not support this, making generated links impossible. For example: <xsl:template match="email"> <A HREF="mailto:{.}"> <xsl:value-of select="."/> </A> </xsl:template> should produce an e-mail address linked to itself, but MSIE leaves "mailto:{.}" as the value of the HREF attribute. This also makes links within a document impossible. Fortunately, XT completely implements the transformation part of the WD, conformingly, and is easy to use. -Chris -- <!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN"> <!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN" "<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487 <USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: More fun with MSIE, Steve Muench | Thread | RE: More fun with MSIE, Ed Nixon |
Re: More fun with MSIE, Steve Muench | Date | RE: More fun with MSIE, Ed Nixon |
Month |