Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Convert XSL to newer version

From: brianharris@-----------.---------.---
To: NULL
Date: 10/11/2007 9:12:00 AM

I am trying to convert XSL http://www.w3.org/TR/WD-xsl to 
http://www.w3.org/1999/XSL/Transform
I am trying to find a program that will convert .xsl for me, I have read 
that their is something out thier.  I have not been able to find it, a few 
links I did find did not work.

The old code has alot of items that do not work.  I started to try to 
convert it by hand, but since their where alot of thing I was not sure how to 
convert I stopped.
I use alot of xsl:eval, xsl:script and xsl:cdata. 

So I then tried to find a way where I could have both old and new verisons 
in same code so I could test my changes as I mad them. I setup the following 
namespaces

		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:msxsl="urn:schemas-microsoft-com:xslt"
		xmlns:old="http://www.w3.org/TR/WD-xsl"
So I then changed xsl:eval, xsl:script, xsl:cdata, xsl:if to old:eval 
,old:script, old:cdata, old:if.  When I did this and then ran code I got 
following Error:
The XSL processor stack has overflowed - probable cause is infinte template 
recursion.
Since this file is a few hunderd lines long and is actually just part of an 
addon to an even larger application.  I am not sure how to best procced.  I 
would like to find a way to do a little bit at a time and check that 
application is still working correctly.



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