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

Subject: Re: [xsl] Saxon CE, result-document and Xpaths
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2011 21:33:49 +0100
On 22/09/2011 16:47, Tom T 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?

I'll follow this up when I'm back from vacation next week. Could I suggest that you report Saxon-CE problems to the saxon-help list at SourceForge? It's an alpha release and not very exhaustively tested, so I'd like to have full details of what you are doing so I can try to reproduce the problem.

Michael Kay
Saxonica

Current Thread