RE: Dumb question from a newbie on XSLT in IE5

Subject: RE: Dumb question from a newbie on XSLT in IE5
From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2000 14:57:37 -0800
>From XML Bible by Elliote
     "The URI that defines a namespace is purely formal.Its only purpose is
to group disambiguate element and attribute names in the document.It does
not necessarily point to anything.In particular,there is no guarantee that
the document at the URI describes the syntax used in the document"

I believe that the namespaces affect some areas.For example if I use 
   xmlns:xsl="http://www.w3.org/TR/WD-xsl
for xsl:import it gives me an error.But if I give
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform
it accepts.

I guess it checks for the validity of the terms used in the XSL file
according to the rules in that draft.

Francis

> -----Original Message-----
> From: Narahari, Sateesh [mailto:Sateesh_Narahari@xxxxxxxxxxxxx]
> Sent: Thursday, March 30, 2000 10:24 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Dumb question from a newbie on XSLT in IE5
> 
> 
> ok...one more dumb question guys...when we say
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> 
> We are specifying an URI. Does the XSLT processor go and 
> fetch this URI or
> is it just hard coded?.
> 
> Sateesh
> 
> -----Original Message-----
> From: Medina, Edward [mailto:emedina@xxxxxxx]
> Sent: Thursday, March 30, 2000 12:54 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Dumb question from a newbie on XSLT in IE5
> 
> 
> The Problem is the version of 
> xmls that you are using. Although it is the latest its not
> the one that IE5 recognizes.  Use the following
> 
> xmlns:xsl="http://www.w3.org/TR/WD-xsl";
> instead of
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> 
> and it should work fine.  You can leave all the other ones
> 
> 
> -----Original Message-----
> From: Jan Thunqvist [mailto:jan.thunqvist@xxxxxxxxxxx]
> Sent: Thursday, March 30, 2000 12:51 PM
> To: XSL-List
> Subject: Dumb question from a newbie on XSLT in IE5
> 
> 
> Hi,
> 
> This is probably me just making stupid things, but my XSLT in 
> IE5 doesn't
> give any output:
> 
> XSL
> ----
> 
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>  xmlns="http://www.w3.org/TR/xhtml1/strict";>
> 
> <xsl:output
>  method="xml"
>  indent="yes"
>  encoding="iso-8859-1"/>
> 
>  <xsl:template match="/">
>   <html>
>    <head>
>     <title>Test of XSLT in IE5</title>
>    </head>
>    <body>
>     <xsl:apply-templates/>
>    </body>
>   </html>
>  </xsl:template>
> 
>  <xsl:template match="bar">
>   <p>bar template</p>
>   <xsl:apply-templates/>
>  </xsl:template>
> 
>  <xsl:template match="baz">
>   <p>baz template</p>
>   <p>
>    <xsl:apply-templates/>
>   </p>
>  </xsl:template>
> 
> </xsl:stylesheet>
> 
> 
> With this XML-document, nothing happens except my debug output:
> 
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="test.xsl" ?>
> <test>
>    <foo f_id="1"/>
>    <foo f_id="3"/>
>    <bar>
>       <baz b_id="1">test</baz>
>       <baz b_id="2">test2</baz>
>       <baz b_id="3">test3</baz>
>       <baz b_id="4">test4</baz>
>    </bar>
> </test>
> 
> Can someone please tell me what I'm doing wrong? Or is it a 
> Microsoft IE5
> issue?
> 
> Thanks,
> 
> /Jan
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
>  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