Re: [xsl] Saxon CE, result-document and Xpaths

Subject: Re: [xsl] Saxon CE, result-document and Xpaths
From: Eliot Kimber <ekimber@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2011 13:52:36 -0500
The @href value is an attribute value template, so you need
href="{//table[1]/td}"

Cheers,

E.

On 9/22/11 10:47 AM, "Tom T" <tomxsllist@xxxxxxxxxxx> wrote:

>
>
> The Saxon CE documentation states: 
>
>> The form <xsl:result-document href="?select=//table[1]/td"> where 
>> the select parameter is an XPath expression that is evaluated relative 
>> to the root of the HTML document. 
>
> I am using XSLT the populate an HTML page. When I execute such a 
> result-document command from my <xsl:template match="/"> context 
> nothing gets produced. 
>
> From the same context, using an id ( eg <xsl:result-document 
> href="#books"> ) works fine. 
>
> I am expecting to be able to populate a page using an XPath in the 
> result-document command. Have I misunderstood the documentation? 
>
> Thanks 
>

--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.reallysi.com
www.rsuitecms.com

Current Thread