This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: transformNode() returning xsl code NOT desired html
- From: Francis Norton <francis at redrice dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 06 Dec 2001 12:09:30 +0000
- Subject: Re: [xsl] transformNode() returning xsl code NOT desired html
- References: <011a01c17de2$53cfc210$1401640a@jibran>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Probably you have MSXML 3.0 or 4.0 on your development machine but only
default MSXML (2.5?) on the live server. This version does not recognise
transforms in the current namespace, which could account for the
behaviour you are seeing.
See http://www.netcrucible.com/xslt/msxml-faq.htm for details.
Francis.
Jibran Bisharat wrote:
> In my ASP call to transformNode() i get the actual XSL code. i have been
> developing this thing for about a month and it has worked fine on my dev
> machine. the instant i make it live on the server transformNode() stops
> working and returns the code that is supposed to format my raw xml. anybody
> know what im doing wrong?? thanks fer yer help...
>
> jibran...
>
> *************ASP SNIPIT**********************
> var xml=Server.CreateObject("MSXML.DOMDocument");
> var xsl=Server.CreateObject("MSXML.DOMDocument");
> //populate both with data.
> Write.Response(xml.transformNode(xsl));
>
> (i am able to see this when i view source on the browser)
> **********WRITE.RESPONSE OUTPUTS THE FOLLOWING*******
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <xsl:output method="text" />
> <xsl:template match="/">
> //of course i do alot more stuff in here, but i didn't want to bloat the
> email....
> </xsl:template>
> </xsl:stylesheet>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list