[xsl] xsl -> xslt - need advice

Subject: [xsl] xsl -> xslt - need advice
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Fri, 22 Feb 2002 10:54:28 -0600
I have inherited a project that was built using xsl and I want to convert it
to xslt to make the pages browser independant.

I gave xsl-xslt converter from MS a shot but it did not work for some
stylesheets and moreover it adds <msxml:script> to the generated
<xsl:script> conversions. I dont think that is browser independant. I really
cannot throw the stylesheets and start afresh bcoz that is a lot of work and
good effort the orignal developer put in it and more over it would take me a
lot of time to re-invent the wheel.

So my questions are
1. Is there a way for me to avoid the <xsl:eval> stuff in the stylesheets.
Is there a way in xslt to call functions that are enclosed in {** <script
language="JavaScript"><xsl:comment><![CDATA[ **} For example what can I do
to avoid this

<img src="../images/open.gif" class="outline" style="cursor:hand;">
         <xsl:attribute name="id">
             <xsl:eval>outID()</xsl:eval>
        </xsl:attribute>
</img>

2. Is there any other converter out there that developers of this list have
used and recommend.

I would really appreciate some answers on this one.

Thanks in advance.

TP.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread