I send my test.xml file and test.xsl file.
and, i use Sablot-0.44 version now..

how soon will it be fixed?

thanks 

-- test.xml --
<MML>
        <META HTTP-EQUIV="Cache-Control" CONTENT="max-age=0"/>
    <CARD NEWCONTEXT="true">
                <P mode="nowrap">Rullu
                        <CHOICE>
                                <CE HREF="login.asp">Login</CE>
                                <CE HREF="not_main.asp">Main</CE>
                        </CHOICE>
                </P>
                <DO TYPE="vnd.prev" LABEL="Join">
                        <ACTION TASK="GO" HREF="join.asp?iptype=id&amp;uid=" 
POSTMETHOD="GET"/>
                </DO>
        </CARD>
</MML>
-- end text.xml --

-- test.xsl --
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
        <xsl:template match="/">
                <HDML>
                        <xsl:apply-templates/>
                </HDML>
        </xsl:template>

        <xsl:template match="DISPLAY">
                <xsl:apply-templates/>
        </xsl:template>

        <xsl:template match="NODISPLAY">
                <xsl:apply-templates/>
        </xsl:template>

        <xsl:template match="CHOICE">
                <xsl:apply-templates/>
        </xsl:template>

        <xsl:template match="CE">
                <xsl:choose>
                        <xsl:when test="starts-with(@HREF,'#')">
                                <xsl:apply-templates/>
                        </xsl:when>
                        <xsl:otherwise>
                                <xsl:apply-templates/>
                        </xsl:otherwise>
                </xsl:choose>
        </xsl:template>

</xsl:stylesheet>
-- end test.xsl --

-----Original Message-----
From: Kaiserovi [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 7:41 AM
To: Sablotron Mailing List
Subject: Re: [Sab] starts-with function error


Yes, starts-with should be supported. We'll try to fix the problem if
you kindly send us the full test data (stylesheet + XML) and indicate
whether you're using version 0.44.

Thanks,
Tom Kaiser (Ginger Alliance)

Myoungki Kim wrote:
> 
> we make stylesheet with starts-with() function
> but it couldnot error.
> 
> our stylesheet .
>         .....
>         <xsl:when test="starts-with(@HREF,'#')">
> 
>         </xsl:when>
> 
> Does sablotron support starts-with() function?
> 
> XSLTranslation: expr.cpp:1558: char * Expression::tostringCharPtr(): Assertion 
>`(functor == EXF_ATOM) && (type == EX_STRING)' failed.
> Aborted

Reply via email to