 |
| 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
|
|
|
|

June 28th, 2007, 03:36 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 :-)
|
|

June 28th, 2007, 08:14 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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"/>
|
|

June 28th, 2007, 11:03 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

June 29th, 2007, 08:11 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
|

July 2nd, 2007, 01:17 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

July 2nd, 2007, 08:23 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

July 4th, 2007, 04:16 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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).
|
|

July 4th, 2007, 10:07 AM
|
|
Authorized User
|
|
Join Date: Apr 2007
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
|
 |