|
Subject: RE: [xsl] Formatting a value-of-select attribute From: cknell@xxxxxxxxxx Date: Fri, 24 Aug 2007 11:52:15 -0400 |
<xsl:value-of select="substring(idstatus/dmaddres/issno/@issno,3,1)"/>
--
Charles Knell
cknell@xxxxxxxxxx - email
-----Original Message-----
From: Maxine Pensyl-Johnson <Maxine.Pensyl-Johnson@xxxxxxx>
Sent: Fri, 24 Aug 2007 08:47:02 -0700
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] Formatting a value-of-select attribute
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Formatting a value-of-select , Maxine Pensyl-Johnso | Thread | RE: [xsl] Formatting a value-of-sel, Maxine Pensyl-Johnso |
| [xsl] Formatting a value-of-select , Maxine Pensyl-Johnso | Date | RE: [xsl] Formatting a value-of-sel, Maxine Pensyl-Johnso |
| Month |