xsl text manipulation

Joined
Apr 21, 2010
Messages
1
Reaction score
0
I'm using xsl to format and display xml data. In my xsl i'm displaying different statusses:

01Ready
02Planned
03Cancelled
04Progress
05Delivered

I want to delete the numbers before the statusses, so i want to transform the statusses to:

Ready
Planned
Cancelled
Progress
Delivered

I already started with this:

Code:
 Status <xsl:value-of
select="Status"/>
        <xsl:choose>
          <xsl:when test ="status='01Ready'">
            ..??? don't know how to set my own text??? status='Ready'
          </xsl:when>
        </xsl:choose>

So basically i need to transform some labels, could somebody help me with the syntax and the right functions? And where in my xsl can i put this transformation?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top