Re: [xslt] xinclude/xpointer with html sources
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] xinclude/xpointer with html sources
- Date: Fri, 22 Mar 2002 12:53:05 -0500
On Fri, Mar 22, 2002 at 06:25:39PM +0100, Bernhard Zwischenbrugger wrote:
> Hi
>
> Is it possible do the following:
>
> <include xmlns="http://www.w3.org/2001/XInclude"
> http://de.finance.yahoo.com/q?s=@XETRA.DE&f=snlcvi#xpointer(//table/tr/td.....='VOLKSWAGEN'.....)"
> />
XInclude and XPointer are actually part of libxml2 not libxslt, so
it's the wrong list for that.
> I have some troubles doing that.
>
> 1. The datasource is not XML - but there is an
> excellent html to xhtml in the libxml. Is it possible
> to convert html to xhtml when using the XINCLUDE
> statment?
it's not html->xhtml it parses HTML and makes a tree similar
as for XML which is absolutely not the same thing
It should work but it's bleeding edge.
> 2. The HTML Page is a dynamic Page. There are
> GET-Parameters (?name=value). Is it possible to mix
> GET Variables, xpointer and HTTP_AUTH
> username/password in XInclude Statements?
No it's not possible, the XInclude use an URI-Reference
to define its target location, so what you have to pass must
be part of an URI.
> Is it possible to use ssl encrypted http connections?
In theory at the XInclude layer, yes, in practice libxml2
doesn't support it you would have to implement you own handler for
https (see the xmlIO doc).
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]