Bug 94791

Summary: support for xml-stylesheet processing instruction with xsl transformation
Product: [Applications] konqueror Reporter: Jos van den Oever <jos>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 3.3.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: xsl file for client-side xml generation
xml file that should be transformed

Description Jos van den Oever 2004-12-10 10:17:42 UTC
Version:           3.3.2 (using KDE 3.3.2 Level "a" , unofficial build of SUSE )
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.111.5-smp

Both IE and Gecko (Mozilla, Firefox, ...) support the use of the <?xml-stylesheet ?> processing instruction. This instruction tells the client to do on-the-fly stylesheet transformation. This is a very nice and useful feature that should be easy to implement using a common xsl processing library like libxslt.

This processing instruction is a <a href="http://www.w3.org/TR/xml-stylesheet/">w3c recommendation</a>.

The feature was also mentioned in <a href="http://bugs.kde.org/show_bug.cgi?id=44989">wish 44989</a> but this was incorrectly said to be a duplicate. I'm opening a new report because I want to attach an example.
Comment 1 Jos van den Oever 2004-12-10 10:18:46 UTC
Created attachment 8599 [details]
xsl file for client-side xml generation
Comment 2 Jos van den Oever 2004-12-10 10:29:42 UTC
Created attachment 8600 [details]
xml file that should be transformed

This file will be transformed to an xhtml file on the client side, using the
<?xml-stylesheet?> processing instruction.
Comment 3 Jos van den Oever 2004-12-10 10:32:14 UTC
Hmm, it seems that the attachments do not work when added to the KDE bugs database. Nevermind, here's a <a href="http://adam.kungfoohampster.com/index.xml">link</a> to an page using the processing instruction.
Comment 4 Allan Sandfeld 2004-12-10 13:26:47 UTC

*** This bug has been marked as a duplicate of 55420 ***