[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] position of non actual element


Subject: Re: [xsl] position of non actual element
From: Matt Gushee <mgushee@xxxxxxxxxxxxx>
Date: Wed, 27 Feb 2002 00:47:20 -0700

On Wed, Feb 27, 2002 at 08:48:56AM +0100, Enke Michael wrote:
> Matt Gushee wrote:
> > ...
> > 5 <xsl:template match="value">
> > 6   <xsl:number count="value" from="/data"/>
> > 7 </xsl:template>
> > ...
> 
> Hi Matt,
> this is very interesting. It works fine.
> But is this a nonstandard feature?
> In my book "XML in a nutshell" (O'Reilly)
> there is nothing written about attributes "count" and "from"
> for xsl:number

Are you sure? If so, that's very poor work on the part of O'Reilly.
I'm surprised.

> Probably there are a lot of other useful features.
> Where can I find this and more?

Well, of course the most authoritative reference is the XSLT spec
itself. This particular feature is documented at

  http://www.w3.org/TR/xslt#number

But if you don't like reading specs (and who can blame you?), the
next best thing is Michael Kay's book, _The XSLT Programmer's
Reference_ -- big red book published by Wrox Press. It's thorough,
accurate, and has lots of good usage examples.
-- 
Matt Gushee
Englewood, Colorado, USA
mgushee@xxxxxxxxxxxxx
http://www.havenrock.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords