An update on result-documents and XPaths:
Saxon-CE Alpha 0.4 (released on Friday) fixed two known issues related to
this (#29 and #30 in the Alpha 0.4 issues list). However, since then, Alpha
0.4.1 has been released to fix a further issue (#31) identified with
Simon's help.
It should now be possible to use XPaths with result documents. Please let
us know if there are further issues with this.
Thanks,
Phil
Phil Fearon
Saxonica
On Fri, Sep 23, 2011 at 4:43 PM, Martin Honnen <***@arcor.de>wrote:
> Tom T wrote:
> >
> >> although the path //table[1]/td is a poor choiceFair point, I have
> actually tried it with a few other XPaths, all to no avail. I just used
> this as an example as that was the example provided in the documentation.>
> I tried some simple examples like
> >>
> >> <xsl:result-document href="?select=//p">Paragraph content created
> >> by XSLT.</xsl:result-document>
> >>
> >> and
> >>
> >> <xsl:result-document href="?select=//table[1]/tbody/tr/td">table
> >> cell content created by XSLT</xsl:result-document>
> >>
> >> and they worked for me with Firefox 6 and Opera 11.5.I tried the first
> one and nothing comes out in Firefox 3 and Chrome 14 (perhaps I should
> upgrade Firefox...). I do not get any kind of alert box for chrome though,
> just nothing is produced.
>
> Initially I simply tried to load the HTML and the XSLT and Saxon CE
> script files from the file system and then Chrome would not show
> anything in the browser window but the error console would show script
> security errors which seemed to be related to Saxon (or maybe GWT)
> setting up an iframe with additional script. Opera also that way had
> warnings in the error console that suggested that XMLHttpRequest loading
> directly from the file system was not allowed. And IE 9 anyway by
> default disables any script in HTML loaded from the local file system.
>
> Therefore I changed to setting up anything on my local web server to
> ensure all files are loaded over HTTP and not directly from the file
> system.
>
> So that might be one reason for Chrome not showing anything, if you
> tried to load files from the file system.
>
> Upgrading FF to the current version is also worth a try.
>
>
>
>
> --
>
> Martin Honnen --- MVP Data Platform Development
> http://msmvps.com/blogs/martin_honnen/
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> saxon-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/saxon-help
>