|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: how do I select a specific number of nodes from a
Subject: Re: how do I select a specific number of nodes from a tree
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Tue, 09 Dec 2003 13:02:50 +0200
|
Depends on the context node, as this will determine the axis to use
(child or following sibling). In general you will use the proper axis
along with position tests like
*[position() < 11]
hth,
Manos
Paul Barclay wrote:
I want to express the following as XSL, could anybody help?
"From a given position in a tree select the next 10 children."
the tree might look like:
<root>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
________________________________________________________________________
E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
Manos Batsis
_ __ __ __
/ |/ /__ / /____ __ _ ___ _____/ /_
/ / -_) __(_-</ ' Y _ `/ __/ __/
/_/|_/\__/\__/___/_/_/_|_,_/_/ \__/
http://www.netsmart.gr
mailto:mbatsisSPAM_TRAP@xxxxxxxxxxx
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|