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(_at_)hotmail(_dot_)com> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.reallysi.com
www.rsuitecms.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--