Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xsl appears in html output

From: "Janette" <ning@---------.------>
To: NULL
Date: 7/4/2006 11:11:00 AM

Thanks for the assistance. I appear to have fixed the problem. All I did was 
change the site to high isolated in IIS and it worked. If anyone cares to 
explain to me why this fixed it, that would be great too.

Regards
Janette

"Janette" <ning@c...> wrote in message 
news:eamgWVwnGHA.1808@T......
> Hi,
>
> I installed msxml 3 as suggested, but it am still getting the same problem 
> eg the html looks like
>
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="xml" omit-xml-declaration="yes" />
> <xsl:param name="mode">OPEN</xsl:param>
> <xsl:template match="/">
> <div id="footer">
> Copyright &copy; 2004 &nbsp;&nbsp;ABN 111111
> &nbsp;&nbsp;CRICOS Provider No: 1111
> <br />
> <xsl:apply-templates />
> </div></xsl:template>
> <xsl:template match="copylink">
> <xsl:if test="$mode='OPEN'">
> <a>
> <xsl:attribute name="href">
> <xsl:value-of select="./@href" />
> </xsl:attribute>
> <xsl:attribute name="class">
> <xsl:value-of select="./@class" />
> </xsl:attribute>
> <xsl:value-of select="." />
> </a>&nbsp;|&nbsp;
>               </xsl:if>
> </xsl:template>
> </xsl:stylesheet>
>
> instead of
>
> <div id="footer">
> Copyright &copy; 2004 &nbsp;&nbsp;ABN 111111
> &nbsp;&nbsp;CRICOS Provider No: 1111
> <br /><a href="http://websitecontact" 
> class="dgrey">contact</a>&nbsp;|&nbsp;
>               <a href="http://website" class="dgrey">disclaimer &amp; 
> privacy</a>&nbsp;|&nbsp;
>               </div>
>
> I would appreciate any further help. See my earlier posting for full xml, 
> xsl and vb code that is used to produce the above.
>
> Regards
> Janette
>
> "Martin Honnen" <mahotrash@y...> wrote in message 
> news:et$goXpnGHA.1664@T......
>>
>>
>> Janette wrote:
>>
>>> I have discovered that the server that works has the following dll's 
>>> that are not on the server that doesn't work
>>> msxml2.dll
>>> msxml2a.dll
>>> msxml2r.dll
>>> msxml3.dll
>>> msxml3a.dll
>>> msxml3r.dll
>>
>> Forget about msxml2, you only need msxml3, that is MSXML 3 to run XSLT 
>> transformations. You can download MSXML 3 from
>> <http://msdn.microsoft.com/XML/XMLDownloads/default.aspx>
>>
>> If you want to run XSLT transformations regularly then it might make 
>> sense to switch to MSXML 4 or MSXML 6 however as they should give you a 
>> better performance. The ASP code running the transformation needs to be 
>> changed then to create the proper objects with version specific program 
>> ids like e.g.
>>   Set xmlDocument = CreateObject("Msxml2.DOMDocument.4.0")
>> for the DOM document of MSXML 4.
>> -- 
>>
>> Martin Honnen --- MVP XML
>> http://JavaScript.FAQTs.com/
>
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent