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

Re: context position incorrect

Subject: Re: context position incorrect
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Jun 2000 09:46:28 +0100 (BST)
Re: context position incorrect
Randall Parker wrote
> Steve,

> I believe that it is working correctly

No. The reported output was incorrect, xt for example gives

<?xml version="1.0" encoding="utf-8"?>

 *1*
 position = 1
 last = 4
 *5*
 position = 2
 last = 4
 *6*
 position = 3
 last = 4
 *7*
 position = 4
 last = 4


> The positions reported are the positions in the parsed tree.
That looks to be what the system is doing but it should not do that it
should report the position in the current node list, and as the 
node list is selected by
	<xsl:apply-templates select="item[@include='yes']"/>
that list only contains the "yes" nodes.

David


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


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.