[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Formatting a value-of-select attribute

Subject: Formatting a value-of-select attribute
From: "Maxine Pensyl-Johnson" <Maxine.Pensyl-Johnson@xxxxxxx>
Date: Fri, 24 Aug 2007 08:47:02 -0700
 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


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.