This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Implementing XPointer Resolution With saxon:evaluate()
Dion Houston wrote:
>
> Hi Eliot:
>
> It'd be eminently helpful to have your XML here
Here's my test document:
<?xml version="1.0"?>
<xindrtest
xmlns:xindr="http://www.isogen.com/papers/xindirection.xml"
xmlns:xlink="http://www.w3.org/TR/xlink"
>
<links>
<xlink:simple href="#//*[@id='addr-01']">indirect link to para
1</xlink:simple>
<xlink:simple href="#//*[@id='addr-02']">indirect link to para
2</xlink:simple>
</links>
<paras>
<para>This is the first para</para>
<para>This is the second para</para>
</paras>
<xindr:indirectorset>
<xindr:indirector id="addr-01"
href="#/*/paras/para[1]">pointer to para 1</xindr:indirector>
<xindr:indirector id="addr-02"
href="#/*/paras/para[2]">pointer to para 2</xindr:indirector>
</xindr:indirectorset>
</xindrtest>
> In this case, your variable "members" is calling a specific template.
> In this case, the result is an RTF, and therefore you cannot do a
> for-each. You will need to use your favorite RTF->Nodeset function to
> be able to iterate through this.
Ah--that's probably part of my problem (although probably not the only
one).
Thanks,
E.
--
W. Eliot Kimber, eliot@isogen.com
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