Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 28th, 2007, 03:36 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

New information: the transformation is corrupted when there are tags "link" or "meta" in the XSL-file. So, if you can avoid using these tags, rendering will be Ok :-)

 
Old June 28th, 2007, 08:14 AM
Authorized User
 
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Interesting! How in the world did you find that out???

I'm not using link tags (just script tags), but I do have one meta tag:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

 
Old June 28th, 2007, 11:03 PM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, first of all I found that not all files were corrupted, so I suspected that the reason was in particular tag(s). Than I checked the differences in the files and eventually found the tags that cause the problem.

Just for test, try to remove lines with "meta" and "link" and see what happens...

Actually, this does not resolve the problem as we can't spare these tags.

 
Old June 29th, 2007, 08:11 AM
Authorized User
 
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I removed the meta tag, but still got garbage problems. Refreshing the page a few times occasionally made the problems go away, but usually the page would just show different glitches with each refresh.

Have you tried Firefox yet?

 
Old July 2nd, 2007, 01:17 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So, it seems that problem not only in mentioned tags. I don't install Firefox, because most of our users use IE. Therefore, for our company the only way to avoid the problem is to recomend our customers not to use Windows Vista

 
Old July 2nd, 2007, 08:23 AM
Authorized User
 
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you generating static XHTML files from XML + XSL? Or are your customers viewing the XML + XSL directly in their browser (IE)?

If the former, then Firefox can be a good previewing/debugging tool, even if none of your customers uses it. I especially like Firefox's Web Developer Tools extension, which helps validate XHTML, CSS, and check for broken links.

 
Old July 4th, 2007, 04:16 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In general we use IE+XML+XSLT, but we do have some pages generating HTMLs from XML/XSLT. Unfortunately, pages with the error are generated from XML on the user's side (via IE).

 
Old July 4th, 2007, 10:07 AM
Authorized User
 
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Out of curiosity, I just tried viewing one of the corrupt pages with CSS disabled. The corruption was still there.

Anything else we can try?






Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing sql server on vista business GladAmI C# 2005 0 March 27th, 2008 06:02 PM
New Computer and New IIS problems with Vista Bill_Thompson .NET Web Services 2 March 14th, 2008 10:28 AM
Rendering base64 images from XML in XSLT jilly XSLT 7 June 29th, 2007 07:56 AM
Background image problems in IE7 Pmac2k CSS Cascading Style Sheets 0 June 21st, 2007 04:23 AM
Rendering images with XSLT trufla XSLT 1 May 21st, 2006 11:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.