Re: [xsl] Condition problem

Subject: Re: [xsl] Condition problem
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 4 Nov 2009 09:31:06 +0000
2009/11/4 Ganesh Babu N <nbabuganesh@xxxxxxxxx>:
> Dear All,
>
> I am having the following input:
>
> <cross-ref>[<cr refid="MEP_L_bib32">32</cr><cr
> refid="MEP_L_bib35">35</cr>]</cross-ref>
>
> <cross-ref>[<cr refid="MEP_L_bib23">23</cr><cr


That's not well-formed...


> This the code I have tried.
>
> <xsl:template match="cross-ref">
>        <xsl:when test="matches(.,'-') or matches(.,'')">


Where is xsl:choose?  Surely you get an exception with that...
<rant>You've been on this list for a long time now, you know how to
form a question so why repeatedly post rubbish?</rant>



--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread