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

RE: numbering

Subject: RE: numbering
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 25 Aug 2004 08:34:12 +0100
michael bucle
> but this bucle is into one for-each
> how can i put :
> 1.-
> 2.-
> 3.-
> ......

I don't understand your supplementary question but the answer might be

<xsl:for-each select="node">
    <xsl:number format="1.- "/>
    <xsl:value-of select="nodename"/>
</xsl:for-each>

Michael Kay


>
> ?
> thanks
> ----- Original Message -----
> From: "Michael Kay" <mhk@xxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, August 25, 2004 1:24 AM
> Subject: RE:  numbering
>
>
> Use <xsl:number format="1.- "/>
>
> Michael Kay
>
> > -----Original Message-----
> > From: Dionisio Ruiz de Zarate [mailto:dionisio@xxxxxxxxxxxxx]
> > Sent: 24 August 2004 23:34
> > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  numbering
> >
> > hello
> > i load the data from one xml file for showing into onw html
> page with:
> > <xsl:for-each select="node">
> > <xsl:value-of select="nodename"/>
> > </xsl:for-each>
> >
> > but i want to show the data with one number:
> > 1.- text
> > 2.- text
> > 3.- text
> >
> > how can i put this number for each nodename (<xsl:value-of
> > select="nodename"/>)
> >
> > can anybody helps me?
> > thanks

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.