[xsl] Formatting a value-of-select attribute

Subject: [xsl] Formatting a value-of-select attribute
From: "Maxine Pensyl-Johnson" <Maxine.Pensyl-Johnson@xxxxxxx>
Date: Fri, 24 Aug 2007 08:47:02 -0700
Greetings All,

I'm working on a FO right now and have a situation where the authors
have entered a triple digit and I need to display only a single digit.

Here is the tag entered in XML.

            <issno issno="000" inwork="02" type="status"/>

Here's what my output states.
<xsl:value-of select="idstatus/dmaddres/issno/@issno"/>

This gives me "000" as it should, but is there a way to force it to only
give me the third digit?

Thanks, Max


Maxine Pensyl-Johnson
Technical Writer
General Atomics ASI
16761 Via Del Campo Court
San Diego, CA. 92127-1713
(858) 525-6362 Office

maxine.pensyl-johnson@xxxxxxx

Current Thread