Subject: Re: Implementing XPointer Resolution With saxon:evaluate()
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Wed, 14 Aug 2002 10:46:59 -0500
|
Jeni Tennison wrote:
> It looks to me here as if it could be possible for $direct-result-set
> to hold any number of nodes, which would mean that you would get
> multiple func:result instructions, which would be an error. To prevent
> that, you should use:
Yes, when I add this link to my test doc:
<xlink:simple href="#//xindr:indirector[position() < 3]">link to both
the paras</xlink:simple>
Then I get the expected "A function can only return one result" error.
Back to the drawing board....
Cheers,
E.
--
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International
1016 La Posada Dr., Suite 240
Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|