Subject: Re: [xsl] Implementing XPointer Resolution With saxon:evaluate() From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Tue, 13 Aug 2002 17:52:41 -0400 |
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@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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Implementing XPointer Res, W. Eliot Kimber | Thread | [xsl] position accross multiple nod, Jeff Barrett |
Re: [xsl] Implementing XPointer Res, Jeni Tennison | Date | Re: [xsl] Implementing XPointer Res, Wendell Piez |
Month |