This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:import help
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: xsl:import help
- From: "Selva, Francis" <Francis dot Selva at purchasepro dot com>
- Date: Fri, 31 Mar 2000 13:01:38 -0800
- Reply-To: xsl-list at mulberrytech dot com
Then how can I get the attribute value with XSLT namespace?.Cause only when
I use the MSXSL it works.
This is my code.
<Login>
<Loginscreen text1="Enter your userid and password" text2="Userid"/>
</Login>
XSL File
<xsl:template match="Login">
<xsl:for-each select="Loginscreen">
<xsl:value-of select="@text1"/>
<xsl:value-of select="@text2"/>
</xsl:for-each>
</xsl:template>
I know this is a basic question but believe me if I do not use the MSXSL
namespace the attribute values are not displayed in IE5.why?
> -----Original Message-----
> From: David Carlisle [mailto:davidc@nag.co.uk]
> Sent: Friday, March 31, 2000 8:51 PM
> To: xsl-list@mulberrytech.com
> Subject: Re: xsl:import help
>
>
>
> > why is that?.Is it something to do with IE5?.
>
> _anything_ involving xmlns:xsl="http://www.w3.org/TR/WD-xsl
> is to do with ie5.
>
>
> IE5, if you have installed the new parser in replace mode,
> implements two
> languages that are essentially completely different.
>
> One (which is what this list is about) is called XSLT and uses
> elements from the namespace http://www.w3.org/1999/XSL/Transform
> the other one (which is called XSL in the microsoft documentation, but
> otherwise known as MSXSL) is based on an early draft of XSLT together
> with some microsoft extensions. That uses http://www.w3.org/TR/WD-xsl
>
> If you try to combine these two languages into one sheet by the
> use of xsl:import then perhaps something happens but I think you
> are on very thin ice, I would not rely on any behaviour at all:-)
>
> The microsoft XSLT implementation is rather new and currently
> incomplete
> you need to check that the features you are using have been
> implemented
> yet.
>
> David
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list