Subject: RE: problem with xmlns and ie5
From: "Joshua Allen" <joshuaa@xxxxxxxxxxxxx>
Date: Mon, 14 May 2001 22:54:02 -0700
|
Please see the recommendation at:
http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/
Your xml:stylesheet instruction needs an href tag, and the body should
be your source XML document, not the XSLT transform. Please use the
http://www.w3.org/1999/XSL/Transform namespace in any case.
Thanks
> -----Original Message-----
> From: Student1 ASCO-ELK (RBJE/ELK)
[mailto:Student1.ASCO-ELK@xxxxxxxxxxxx]
> Sent: Monday, May 14, 2001 10:22 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: problem with xmlns and ie5
>
> can someone help me, i try to use the
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" namespace for my xls
> document
> but i only get the the xlsdocument in my output window ( i dont have
any
> typos in the file ! ;) )
> if i use the xmlns:xsl="http://www.w3.org/TR/WD-xsl" namespace
everything
> works fine.
> but when i then try to use <xsl:variable .... /> i get a runtime error
> saying:"Keyword xsl:variable may not be used here"
> i alread read the the article of tim bray about xml and ie5 - but this
> didnt
> get me any further :( ....
>
> here are the two headers of the xsl files
> that way everything except the <xsl-variable... /> works fine
>
> <?xml version='1.0'?>
> <?xml:stylesheet type='text/xsl'?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
> <xsl:template match='/'>
> <xsl:apply-templates select='//test' />
> </xsl:template>
> <xsl:template match='test'>
> TEST
> </xsl:template>
> </xsl:stylesheet>
>
>
> but if i try it this way .... i get nothing but my xslfile back
>
> <?xml version='1.0'?>
> <?xml:stylesheet type='text/xsl'?>
> <xsl:stylesheet xsl:version='1.0'
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> ...
> </xsl:stylesheet>
>
> thx in advance
> regards goose
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|