Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xsl:function does abort just after the call of the function

Thread Tools

xsl:function does abort just after the call of the function

Posts: n/a
Hi !
I'm writing a new xsl:function, which uses two other functions. But by
the call of the first function, it would be abort just after the call.
Not even the xslaram would be set.
I don't have any idea, why this works like this. Could you please help
me ?

Here my xsl-code:

<xsl:function name="rsh:bestanden">
<xslaram name="studiumTyp" as="xs:string"/>
<xslaram name="kursTyp" as="xs:string"/>
<xsl:variable name="minPunkte"

<xsl:variable name="summeECTSPunkte">
<xsl:variable name="kursID" select="@ref"/>
<!--The call of the rsh:noteByKursID...does not work! Why ???-->
<xsl:variable name="kursNote"
<xsl:if test="$kursNote != 'F'">
<xsl:when test="sum($summeECTSPunkte/*) &lt; $minPunkte">
<xsl:sequence select="'false'"/>
<xsl:sequence select="'true'"/>

<xsl:function name="rsh:noteByKursID">
<xslaram name="parKursID" as="xs:string"/>
select="$person-ref/var[position()=var[node()=$parKursID] +

<xsl:function name="rsh:ECTSPunkteByKursID">
<xslaram name="kursID" as="xs:string"/>
<xsl:variable name="lektionen"
<xsl:sequence select="if($lektionen &gt;= 12) then($lektionen
div 12) else(0)"/>


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call to PyEval_EvalCodeEx crashes in PyFrame_New with abort grbgooglefan Python 1 04-07-2009 05:35 PM
XMLHttpRequest abort() and subsequent error in call to onreadystatechange Peter Michaux Javascript 2 10-28-2006 03:08 PM
XHR abort(): IE hangs after two aborts. Sri Javascript 0 09-29-2006 05:50 PM
Abort a system call Masschelein Bart Ruby 2 07-04-2005 01:35 PM
write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function parameter komal C++ 6 01-25-2005 11:13 AM