Re: [xslt] xinclude/xpointer with html sources

On Fri, Mar 22, 2002 at 06:25:39PM +0100, Bernhard Zwischenbrugger wrote:
> Hi
> Is it possible do the following:
> <include xmlns="";
> />

  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 Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]