|
Subject: RE: [xsl] Using saxon:assign and testing content of variable From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 21 Sep 2005 04:26:19 +0100 |
> I thought that a count($pageNumber) would have returned 3 for > the 3 nodes I > added to the variable, instead I get a consistent 1. count() applied to a temporary tree is always one, because the value is a document node. You want to count its children. Michael Kay http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Using saxon:assign and te, Dan Vint | Thread | Re: [xsl] Using saxon:assign and te, David Carlisle |
| RE: [xsl] Using saxon:assign and te, Michael Kay | Date | Re: [xsl] Sort Function, Alan |
| Month |