Re: [xslt] HTML input from command line and document() function



On Wed, Jan 23, 2008 at 02:57:41PM -0800, Ari Krupnik wrote:
> xsltproc(1) accepts the --html argument that allows transforming HTML
> documents without running them through tidy(1) first. Is it possible
> to use the same (HTML) parser for documents loaded through the
> document() XSLT function, not just the source document?

  Unfortunately no, there is no way in the document() XSLT function
to hint you may want to use a different parser. And i'm not sure 
overriding document() behaviour when xsltproc is passed the --html
option would really be considered okay (this may or may not work 
depending on the use case).

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]