Thank you that was perfect.
-----Original Message-----
From: cknell(_at_)onebox(_dot_)com [mailto:cknell(_at_)onebox(_dot_)com]
Sent: Friday, August 24, 2007 8:52 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Formatting a value-of-select attribute
<xsl:value-of select="substring(idstatus/dmaddres/issno/@issno,3,1)"/>
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Maxine Pensyl-Johnson <Maxine(_dot_)Pensyl-Johnson(_at_)uav(_dot_)com>
Sent: Fri, 24 Aug 2007 08:47:02 -0700
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_dot_)pensyl-johnson(_at_)uav(_dot_)com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--